How does lgb handles category features internally?
two questions:
-
How does lgb handles category features internally?
-
How does lgb handles "null"? Like xgboost? Try split left and right, and chooses the best one?
Thanks.
I'm not quite understand what you are asking. the usage of LightGBM or how the LightGBM works?
category can be set at: https://github.com/Microsoft/LightGBM/blob/master/docs/Parameters.md#io-parameters
@chivee How the LightGBM works? (for category features)
categorical features support is deprecated now.
I found that the categorical features support is deprecated when the LightGBM v2 released. However, it is added back 2 days ago(2017.3.1). I wonder to know what are the reasons behind the engineering or algorithm itself? @guolinke
@WangHanbin refer to #319
Now that the categorical feature support is back - coming back to the original question ... is there any documentation on how the categorical features are handled internally ?
@AbdealiJK it is basically the same as one-hot coding explicitly. but we are refining it : https://github.com/Microsoft/LightGBM/issues/699