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

Skip to content

DOC add an example on how to optimize a metric with a constraint in TunedThresholdClassifierCV #28944

Open
@glemaitre

Description

@glemaitre

We merged TunedThresholdClassifierCV in #26120.
However, we don't expose any way to optimize a metric that is constrained by another as one would do when choosing a point on the ROC or PR curves.

We should have an example that shows how to do such optimization as discussed here:
#26120 (review)

This would be a temporary trick until we settle on the best possible API regarding this constrained scorer.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions