Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Scale the Features | Preprocessing Data with Scikit-learn
course content

Course Content

ML Introduction with scikit-learn

Scale the FeaturesScale the Features

In this challenge, you need to scale the features using StandardScaler. The data is a good old Penguins dataset (encoded and with no missing values).

Here is a little reminder of StandardScaler class.

Task

  1. Import the StandardScaler class
  2. Initialize a StandardScaler object.
  3. Fit and transform the X using that object.

Everything was clear?

Section 2. Chapter 11
toggle bottom row
course content

Course Content

ML Introduction with scikit-learn

Scale the FeaturesScale the Features

In this challenge, you need to scale the features using StandardScaler. The data is a good old Penguins dataset (encoded and with no missing values).

Here is a little reminder of StandardScaler class.

Task

  1. Import the StandardScaler class
  2. Initialize a StandardScaler object.
  3. Fit and transform the X using that object.

Everything was clear?

Section 2. Chapter 11
toggle bottom row
some-alt