Why does one-hot encoding fail when applied to high-cardinality categorical features?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: easy
Interview Round: Other
Overview: Explain why one-hot encoding breaks down for categorical features with thousands of levels, such as zip codes or product IDs. Tests understanding of dimensionality, sparse low-support columns, tree splits, unseen categories in production, and the alternative encodings used in practice.