How does native categorical handling in gradient-boosted tree libraries compare with one-hot encoding the same feature?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Compares native categorical splits in gradient-boosted tree libraries such as LightGBM, CatBoost and XGBoost with one-hot encoding of the same feature. Tests understanding of split partitions, tree depth, overfitting on rare levels and training-serving consistency.