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

TypeError: LGBMRegressor.fit() got an unexpected keyword argument 'early_stopping_rounds' #16

Open
juanramonua opened this issue Sep 23, 2023 · 1 comment

Comments

@juanramonua
Copy link

First of all, thank you for the development of this Sw that allows in an easy way to find the optimal parameters for gradient descent algorithms with boosting.

It seems to me that they have updated the LGBM version and now 4.0.x is available. I am using Google Colab, and installing the package, both by pypi and directly from Github shows the error in the title.

I hope it can be easily fixed. Best regards.

@erdogant
Copy link
Owner

I created a fix where I updated the input parameter for the latest version of lightboost.
Can you update to the latest version and check whether this works again?

pip install -U hgboost

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

2 participants