Thanks to visit codestin.com
Credit goes to github.com

Skip to content

cross_val_score threshold adjustment #15019

@tjdurant

Description

@tjdurant

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions