Here we will use the HR churn data (https://www.kaggle.com/) to present the breakDown package for glm models.

The data is in the breakDown package

Now let’s create a logistic regression model for churn, the left variable.

But how to understand which factors drive predictions for a single observation?

With the breakDown package!

Explanations for the linear predictor.

Explanations for the probability with intercept set as an origin.