Encode Categorical Columns
One-hot and label encoding basics.
Why Encoding Matters
Most models only understand numbers, yet your data is full of words like red or blue. Encoding turns those labels into numbers a model can learn from. 🔢
Nominal vs Ordinal
Some categories have order, like small, medium, large. Others, like city names, do not. This order decides which encoding is honest.
All lessons in this course
- Bin Numbers Into Categories
- Encode Categorical Columns
- Scale and Normalize Numbers
- Build Features From Dates and Text