Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Build a Preprocessing Workflow | Transformers and Preprocessing Workflows
Mastering scikit-learn API and Workflows

bookChallenge: Build a Preprocessing Workflow

Завдання

Swipe to start coding

You are building a basic preprocessing workflow using scikit-learn.

  1. Use SimpleImputer(strategy="mean") for numeric columns.
  2. Use OneHotEncoder(sparse=False) for categorical columns.
  3. Apply both transformations using a ColumnTransformer named preprocessor.
  4. Fit and transform the DataFrame df.
  5. Store the result in the variable result.

Рішення

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

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 4
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

close

bookChallenge: Build a Preprocessing Workflow

Свайпніть щоб показати меню

Завдання

Swipe to start coding

You are building a basic preprocessing workflow using scikit-learn.

  1. Use SimpleImputer(strategy="mean") for numeric columns.
  2. Use OneHotEncoder(sparse=False) for categorical columns.
  3. Apply both transformations using a ColumnTransformer named preprocessor.
  4. Fit and transform the DataFrame df.
  5. Store the result in the variable result.

Рішення

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

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 4
single

single

some-alt