Skip to content

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

Merged

Conversation

vadim-ushtanit
Copy link
Contributor

Reference Issues/PRs

Fixes #19400.

…eviation loss function fit call with sample_weight parameter.
Copy link
Member

@NicolasHug NicolasHug left a 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

vadim-ushtanit and others added 2 commits February 9, 2021 13:50
…oosting.py

Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
@NicolasHug
Copy link
Member

Sorry, I forgot: we would also need an entry in doc/whats_new/v1.0.rst. Thanks!

@vadim-ushtanit
Copy link
Contributor Author

Sorry, I forgot: we would also need an entry in doc/whats_new/v1.0.rst. Thanks!

I updated docs, but can a fix be a part of v0.24.2?

@glemaitre
Copy link
Member

I updated docs, but can a fix be a part of v0.24.2?

You are right. I was about to merge but it makes sense to add the entry in 0.24.rst and I will mark it as a backport.
Could you make the change?

@glemaitre glemaitre added this to the 0.24.2 milestone Feb 9, 2021
@glemaitre glemaitre added the To backport PR merged in master that need a backport to a release branch defined based on the milestone. label Feb 9, 2021
@vadim-ushtanit
Copy link
Contributor Author

vadim-ushtanit commented Feb 9, 2021

Could you make the change?

I pushed commit with the change, but I can't see commit in PR

@glemaitre
Copy link
Member

Maybe there is some delay bew

@glemaitre glemaitre closed this Feb 9, 2021
@glemaitre glemaitre reopened this Feb 9, 2021
@glemaitre
Copy link
Member

I closed and reponed hoping that GitHub would synchronize the PR. Magically, it worked so let's wait for the CI :)

@glemaitre glemaitre merged commit 087a684 into scikit-learn:main Feb 10, 2021
@glemaitre
Copy link
Member

Thanks @vadim-ushtanit

@vadim-ushtanit
Copy link
Contributor Author

You are welcome!

@glemaitre glemaitre mentioned this pull request Apr 22, 2021
12 tasks
glemaitre added a commit to glemaitre/scikit-learn that referenced this pull request Apr 22, 2021
…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>
glemaitre added a commit that referenced this pull request Apr 28, 2021
…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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:ensemble To backport PR merged in master that need a backport to a release branch defined based on the milestone.
Projects
None yet
4 participants