SchoolWhool
Quizzes and saved progress, freeSign in freeSign in

ML 8.2Lesson outlineLesson 2 of 7 in Module 8

Categorical Features

Encode categories as numbers without inventing an order or leaking the target.

Video in production.

Lesson outline: Categorical Features

In this lesson10 parts

  1. 01Words in the columns
  2. 02The calls
  3. 03Numbers only
  4. 04One-hot encoding
  5. 05Ordinal encoding
  6. 06`unknown`, and rare levels
  7. 07Target encoding
  8. 08The leak
  9. 09Where it misleads
  10. 10Code, recap, and what comes next

Builds on

This lesson stands on its own. These go deeper into what it uses.

Next steps: Categorical Features