Explain it in 60 seconds
One-hot encoding
Machine Learning · Feature Engineering · Beginner
What is one-hot encoding, and what are its limitations?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Creates a binary column for each category.
- Works for nominal categories without order.
- Problem with high cardinality: too many columns.
- Drop-first option for linear models to avoid collinearity.
- Handle unseen categories at prediction time.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.