8000 plot_precision_recall_curve and plot_roc_curve don't allow picking positive class · Issue #15573 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content
plot_precision_recall_curve and plot_roc_curve don't allow picking positive class #15573
Closed
@amueller

Description

@amueller

In #15555 we removed the inconsistent pos_label attribute.

It would be good to allow users to specify which class is the semantically positive class and slice predict_proba or decision_function accordingly.

I'm not sure if that parameter should be called pos_label as it is somewhat semantically different. Maybe positive_label? positive_class? but it's not clear that that's different. We could do use_as_positive= but that's a bit obscure maybe?

Also see #15405 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0