-
-
Notifications
You must be signed in to change notification settings - Fork 26k
Fix ValueError on HistGradientBoostingRegressor with least_absolute_deviation loss function fit call with sample_weight parameter #19407
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
Fix ValueError on HistGradientBoostingRegressor with least_absolute_deviation loss function fit call with sample_weight parameter #19407
Conversation
…eviation loss function fit call with sample_weight parameter.
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.
Thanks @vadim-ushtanit , small suggestion but LGTM
sklearn/ensemble/_hist_gradient_boosting/tests/test_gradient_boosting.py
Outdated
Show resolved
Hide resolved
…oosting.py Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Sorry, I forgot: we would also need an entry in |
I updated docs, but can a fix be a part of |
sklearn/ensemble/_hist_gradient_boosting/tests/test_gradient_boosting.py
Show resolved
Hide resolved
You are right. I was about to merge but it makes sense to add the entry in |
I pushed commit with the change, but I can't see commit in PR |
Maybe there is some delay bew |
I closed and reponed hoping that GitHub would synchronize the PR. Magically, it worked so let's wait for the CI :) |
Thanks @vadim-ushtanit |
You are welcome! |
…entBoosting (scikit-learn#19407) Co-authored-by: Vadim Ushtanit <vadim.ushtanit@gmail.com> Co-authored-by: Nicolas Hug <contact@nicolas-hug.com> Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
…entBoosting (#19407) Co-authored-by: Vadim Ushtanit <vadim.ushtanit@gmail.com> Co-authored-by: Nicolas Hug <contact@nicolas-hug.com> Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Reference Issues/PRs
Fixes #19400.