-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
ENH use utility _check_sample_weight in IsotonicRegression #16322
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
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.
Nit but LGTM, thanks @Batalex
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. @NicolasHug are you fine with merging without your suggestion?
yes |
I saw #16322 (comment) just after my comment above. As you wish. +0 for the None weight fast path option. |
let's ignore that for this PR |
Merged then! Thank you very much @Batalex. |
It's not applicable here anyway because the fast way isn't implemented for IsotonicRegeression |
Reference Issues/PRs
Continuation of #16203 so that we can close #15358.
What does this implement/fix? Explain your changes.
This PR's addition is to reorder the sample_weights array as discussed in the original PR.
I force the array to be contiguous otherwise a test would fail locally for this very reason.
Any other comments?
2020 Paris Sprint