-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Make FrozenEstimator explicitly accept and ignore sample_weight #30874
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
Make FrozenEstimator explicitly accept and ignore sample_weight #30874
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.
Thank you for the PR @ogrisel
Co-authored-by: Omar Salman <omar.salman2007@gmail.com>
Thanks for the review @OmarManzoor. I addressed your feedback. |
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. Thank you @ogrisel
A few points on this (from our call):
scikit-learn/sklearn/calibration.py Line 383 in ada9947
So this PR is to be reverted, and the warning to be improved. |
This is in particular necessary to avoid spurious warnings as triggered in https://github.com/scikit-learn/scikit-learn/pull/30873/files#r1965699574.