Interview practice question
New category values break the pipeline
Machine Learning · Feature Engineering · Beginner
Your model fails in production because a new product category appeared that wasn't in training. How do you fix it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Encoder wasn't configured for unseen categories.
- Use handle_unknown="ignore" or map to "other".
- Group rare and new categories.
- Monitor for new categories.
- Retrain periodically to learn new categories.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.