MLForecast Cross Validation: Utilizing Native Categorical Handling #421
jrodenbergrheem
started this conversation in
General
Replies: 1 comment 2 replies
-
Hey. If you're using pandas you can just set their types as categorical and LightGBM will treat them accordingly. Are you using polars? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was curious as to how we can utilize native categorical handling of models like LGBM in mlforecast cross validation.
I have seen the example of custom training using numpy arrays but unsure of how to use this with the mlf.cross_validation method. I have currently been specifying cateogrical indexs for lightgbm in the parameters argument but I get the message that "categorical_feature keyword will be ignored"
Is this currently implemented and if so does anyone have a link to an example: this being done in polars is huge plus.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions