We rely on the models implementations. For example for LightGBM just having the categorical data type in some columns will automatically treat them as categorical. For xgboost you have to set some arguments
José Morales
01/17/2024, 6:20 PM
In this notebook all the static features are categorical
v
Valeriy
01/17/2024, 6:55 PM
Interesting, perhaps it is lightgbm giving error. I always thought that lightgbm solved the issue of categorical variables and now should treat them natively. Thanks @José Morales