Exercise

Setting up your workflow

You want to investigate if JobRole alone can be a predictor for Attrition. Given that JobRole is a factor, you plan to use a Bayes encoder to represent it numerically in your model.

The embed package and the corresponding test and train splits from the attrition dataset are loaded in your workspace.

Instructions

100 XP
  • Create recipe using the Bayes encoder.
  • Bundle the model and recipe with a workflow.