End-to-End ML Project- Beginner friendly

You are currently auditing this course.
76 / 94

StandardScaler

Let's standardize our dataset using the StandardScaler class from the preprocessing submodule of sklearn.

Refer to StandardScaler documentation for further details about the method.

INSTRUCTIONS
  1. Import StandardScaler from sklearn.preprocessing.

  2. Create an object named scaler of the class StandardScaler.

  3. Call the fit_transform() method on the object scaler and provide housing_num as the dataset. Store the output in a variable named scaled_features.


Loading comments...