1. Learn
  2. /
  3. Courses
  4. /
  5. Feature Engineering in R

Connected

Exercise

Who's staying?

It's time to practice combining several transformations to the attrition_num data. First, normalize or near-normalize numeric variables by applying a Yeo-Johnson transformation. Next, transform numeric predictors to percentiles, create dummy variables, and eliminate features with near zero variance.

Instructions

100 XP
  • Apply a Yeo-Johnson transformation to all numeric variables.
  • Transform all numeric predictors into percentiles.
  • Create dummy variables for all nominal predictors.