-
-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Description
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