-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
[MRG] Fix bug when warm starting with early stopping in Hist GBDT #15624
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
[MRG] Fix bug when warm starting with early stopping in Hist GBDT #15624
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
You also need to change |
Where? we do have |
If I understand properly, it is done in the following line: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
My bad, I thought that |
Does this have your blessing @glemaitre @johannfaouzi ;)? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (great branch name btw)
Thanks @NicolasHug |
If scoring='loss', raw_prediction_val wasn't defined in case of warm-start with early stopping, which would cause an error. This is now fixed and tested.
Originally noted by @johannfaouzi in #14516