Session Ready
Exercise

Scaling

Often, you will want to change the scale of numeric variables to improve the performance of the model or algorithm you are using. A common approach involves changing the ranges of variables to fit between 0 and 1. This is useful when you have variables that have little or no outliers and that have a balanced representation across all values.

Instructions
100 XP
  • Using the Pokemon dataset, create a new feature scaled_hp for hp that has been scaled for a range between 0 and 1.
  • Summarize both hp and scaled_hp.