What is encoding?
Turning categories (city, color, job) into numbers, because machines can only do math with numbers.
Also called: categorical encoding, one-hot encoding, one-hot.
An analogy
A mail sorter doesn't label the bin "Chicago"; they use the ZIP code. Each place becomes a number before it goes into the system.
Where it shows up in the course
- Transformer
- Feature engineering
- Ensembles