Exercise

Fitting and assessing the model

Now that you have addressed missing values and created dummy variables, it is time to assess your model's performance!

The attritiondataset, along with the testand train splits, the lr_recipe and your declared logistic_model() are all loaded for you.

Instructions

100 XP
  • Bundle model and recipe in workflow.
  • Fit workflow to the train data.
  • Generate an augmented data frame for performance assessment.