-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
gbm.best_iteration_ is None
when early_stopping_round = 3
in sklearn API
#1181
Comments
@startakovsky ping @StrikerRUS @wxchan updated: @wxchan @StrikerRUS Should we have the same conversion in sklearn interface? |
@guolinke the following does work... and for now I will use this approach to track |
The answer is #890. |
@guolinke
In my opinion, all users are adult enough to read the docstring and notice that |
@startakovsky I agree with @StrikerRUS . Logically, |
The code in the image below indicates that in the sklearn API,
best_iteration_
is not set even when early_stopping_round > 0.Is this expected behavior?
The text was updated successfully, but these errors were encountered: