-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
'LGBMRegressor' object has no attribute 'n_estimators_' #5337
Comments
Hi @phantng, thanks for raising this. The docs point to the latest version, which is what is currently on master. The |
@jameslamb @StrikerRUS can we make the default page be the latest release (3.3.2 in this case) instead of the current master on readthedocs? It can be very confusing finding things that aren't there yet and getting errors, and we've had a couple of issues because of it (#5113 comes to mind but I think we've had some more). |
Thanks for bringing it up @jmoralez . I have been meaning to open an issue about that since #5185, your Based on the 👍 from @phantng on #5337 (comment), I'm going to close this issue. |
This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this. |
Description
The 'LGBMRegressor' object has no attribute 'n_estimators_' but it does have 'n_estimators', which is inconsistent with the documentation in https://lightgbm.readthedocs.io/en/latest/pythonapi/lightgbm.LGBMRegressor.html.
Reproducible example
Environment info
lightgbm=3.3.2
python=3.9.7
The text was updated successfully, but these errors were encountered: