-
-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
cross_val_score threshold adjustment #15019
Comments
That's not currently possible out-of-the-box. |
Cross referencing here #16525 , as it is meant to supersede #10117. @glemaitre do you think your PR will also close this issue? Thanks. |
This is a use-case mentioned in #16525 (still not implemented thought) by @lorentzenchr. It might make sense to add the option and it would close this issue as well. |
This can be done with the |
Apologies if this has been brought up before but a search through current and closed issues didn't return anything to indicate it had.
I have a use case wherein I have picked an optimal decision threshold based on the intersection of sensitivity and PPV when plotted as a function of the decision threshold. The point of intersection corresponds with a decision threshold of 0.3. I would like to run cross_val_score with a LogisticRegression model that uses a threshold of 0.3 to calculate a distribution of sensitivity and FPR (separate issue, here). However, it doesn't seem as though the threshold can be varied in the context of cross_val_score or at the estimator level. Might be nice to have that functionality if possible.
Thanks to all the contributors who work on this project : )
-Tommy
The text was updated successfully, but these errors were encountered: