Session Ready
Exercise

Yeo-Johnson transformations

You have previously transformed variables using the Box-Cox transformation. The Yeo-Johnson transformation is similar but can handle a wider range of variable types. For example, the bank marketing dataset bank_df contains several numeric variables that contain zero as well as both positive and negative values that are used to determine if a banking client will enroll in term deposits. Two variables collected are the yearly average balance of an individual balance and how long a customer is spoken to by a marketing agent duration, measured in seconds.

Instructions 1/3
undefined XP
  • 1
  • 2
  • 3
  • Select the balance and duration variables into bank_vars.