Exercise

step_poly()

Now that you have a baseline, you can compare your model's performance if you add a polynomial transformation to all numerical values.

The attrition_numdata, the logistic regression lr_model, the user-defined class-evaluate() function, and the trainand test splits have already been loaded for you.

Instructions

100 XP
  • Add a polynomial transformation to all numeric predictors.
  • Fit workflow to the train data.