Skip to content
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

Error when stacking with lightgbm #51

Open
asimumba opened this issue Nov 6, 2021 · 3 comments
Open

Error when stacking with lightgbm #51

asimumba opened this issue Nov 6, 2021 · 3 comments

Comments

@asimumba
Copy link

asimumba commented Nov 6, 2021

I am using boost_tree with lightgbm as the engine. But I get an error when I try to stack lightgm with other models e.g catboost or xgboost.

here is the error message
Attempting to use a Booster which no longer exists. This can happen if you have called Booster$finalize() or if this Booster was saved with saveRDS()

Does anyone has a solution to this?

@siegfried
Copy link
Contributor

This might be related to #33 ?

@dfalbel
Copy link
Member

dfalbel commented Jan 11, 2022

It's probably related. I think we need to set a lightgbm option to make models serializable: https://lightgbm.readthedocs.io/en/latest/R/reference/lightgbm.html see the serializable argument here.

@asimumba
Copy link
Author

Thanks @siegfried and @dfalbel I had given up on this. I will look into the provided info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants