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

The data is in the breakDown package

Now let’s create a random forest 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.