1. Learn
  2. /
  3. Courses
  4. /
  5. Modeling with tidymodels in R

Exercise

Training a recipe object

In the previous exercise, you created a recipe object with instructions to apply a log transformation to the avg_call_mins and avg_intl_mins predictor variables in the telecommunications data.

The next step in the feature engineering process is to train your recipe object using the training data. Then you will be able to apply your trained recipe to both the training and test datasets in order to prepare them for use in model fitting and model evaluation.

Your recipe object, telecom_log_rec, and the telecom_training and telecom_test datasets have been loaded into your session.

Instructions 1/3

undefined XP
    1
    2
    3
  • Train your telecom_log_rec object using the telecom_training dataset.