Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge: Build a Preprocessing Workflow | Transformers and Preprocessing Workflows
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Mastering scikit-learn API and Workflows

bookChallenge: Build a Preprocessing Workflow

Tarefa

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.

Solução

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 4
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

close

bookChallenge: Build a Preprocessing Workflow

Deslize para mostrar o menu

Tarefa

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.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 4
single

single

some-alt