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
ML Introduction with scikit-learn
course content

Зміст курсу

ML Introduction with scikit-learn

ML Introduction with scikit-learn

1. Machine Learning Concepts
2. Preprocessing Data with Scikit-learn
3. Pipelines
4. Modeling

Scale 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).

12345
import pandas as pd df = pd.read_csv('https://codefinity-content-media.s3.eu-west-1.amazonaws.com/a65bbc96-309e-4df9-a790-a1eb8c815a1c/penguins_imputed_encoded.csv') print(df)
copy

Here is a little reminder of StandardScaler class.

Завдання

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

Завдання

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

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Секція 2. Розділ 11
toggle bottom row

Scale 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).

12345
import pandas as pd df = pd.read_csv('https://codefinity-content-media.s3.eu-west-1.amazonaws.com/a65bbc96-309e-4df9-a790-a1eb8c815a1c/penguins_imputed_encoded.csv') print(df)
copy

Here is a little reminder of StandardScaler class.

Завдання

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

Завдання

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

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Секція 2. Розділ 11
toggle bottom row

Scale 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).

12345
import pandas as pd df = pd.read_csv('https://codefinity-content-media.s3.eu-west-1.amazonaws.com/a65bbc96-309e-4df9-a790-a1eb8c815a1c/penguins_imputed_encoded.csv') print(df)
copy

Here is a little reminder of StandardScaler class.

Завдання

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

Завдання

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

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

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).

12345
import pandas as pd df = pd.read_csv('https://codefinity-content-media.s3.eu-west-1.amazonaws.com/a65bbc96-309e-4df9-a790-a1eb8c815a1c/penguins_imputed_encoded.csv') print(df)
copy

Here is a little reminder of StandardScaler class.

Завдання

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

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Секція 2. Розділ 11
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
We're sorry to hear that something went wrong. What happened?
some-alt