Why is naive target encoding susceptible to severe overfitting?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks why naive target encoding of categorical features overfits so badly. It tests whether you understand label leakage, the noise in rare categories, the gap between training and inference, and how to encode categories safely.