-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for LightGBM Booster and XGBoost Booster #99
Comments
Hey @chris-smith-zocdoc, thanks for reporting this! I think support for Btw, PR is very welcome if you're up to it :) |
I can give it a shot, can you point me to the appropriate files that would need changed? |
Thanks, @chris-smith-zocdoc! You can begin with the following lines: This is where we're accessing the underlying |
classifier don't work |
Also for LGBMRegressor I observe issues with operations type:
results in
I've debugged it, and saw EQ operation coming from the model |
EQ operations seem to appear only if categorical_feature was specified in the training paameters. |
Also, sadly no ranking objective support
|
Yeah, you are right. Categorical features are not supported yet, unfortunately. #102 |
when using m2cgen v0.9.0 convert pickle to js, we get the error msg below: So,xgboost booster is not supported yet? |
Unfortunately no, |
Get it and thx for your reply. |
Yeah, I do, but unfortunately without any ETA. |
@StrikerRUS, there are plans to implement this functionality in 2023? 🙂 |
We're training our LightGBM model outside of python (spark) so we need to load it from a model file before passing it to m2c. I don't believe LightGBM can load directly into
LGBMRegressor
though, it must be loaded into lgb.Booster.It would be nice if m2cgen supported lgb.Booster
Example
The text was updated successfully, but these errors were encountered: