3.

OneHotEncoder for Categories

medium

Task

Learn OneHotEncoder to convert categorical features into numerical format for ML models.

Instructions

  1. Read through the code and understand the setup
  2. Complete the TODO sections in the code
  3. Click Run or press Ctrl+Enter to execute
  4. Click Done when finished

Concepts

OneHotEncodercategorical encodingsparse matrixdrop parameter

Command Palette

Search for a command to run...