-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
ENH add the parameter prefit in the FixedThresholdClassifier #29067
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
@koaning do you want to have a look at the diff? |
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.
That was a fast turn-around! But yeah this looks ace.
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. Just a few comments
Co-authored-by: Jérémie du Boisberranger <jeremie@probabl.ai>
The error is unrelated |
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
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.
Minor suggestion otherwise LGTM. Thanks @glemaitre
closes #29062
Add the
prefit
parameter to theFixedThresholdClassifier
allowing to accept a prefitted estimator without refitting it when callingfit
.