How does CatBoost prevent target leakage when computing target statistics on categorical features?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks how CatBoost encodes categorical features with target statistics without leaking each row's label. Tests why plain and leave-one-out target encoding leak, how CatBoost's encoding avoids the leak, and how inference-time statistics are computed.