Session Ready
Exercise

Box-Cox transformations

As you have learned you can improve the utility of a variable in a model by leveraging variable transformations like the Box-Cox transformation for positive variable values. For example, the Pokemon dataset poke_df contains several numeric variables of the characteristics of different Pokemon attributes. Two variables collected on defensive efficiency are defense and speed. Both are positive and do not contain zero.

Instructions 1/3
undefined XP
  • 1
  • 2
  • 3
  • Select the defense and speed variables from poke_df, and save them as poke_vars.