What is target encoding?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: easy
Interview Round: Other
Overview: Asks what target encoding is and how it turns a high-cardinality categorical feature into a numeric one. Tests understanding of how the encoding is computed, why it risks target leakage and overfitting on rare categories, and which safeguards keep it honest.