Session Ready
Exercise

Explaining individual behaviors

In the final exercise of this chapter, you will use the model log_mod2 to predict the contribution of each term to the prediction of one row in new_credit_data.

After predicting, answer the following question:

Which term makes the greatest contribution to the prediction of this first data point?

Instructions 1/2
undefined XP
  • 1
  • 2

Predict the effect of each model term on the output for the first row of new_credit_data.