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

Skip to content

y_pred changed to y_true in RocCurveDisplay.from_predictions, but not in DetCurveDisplay.from_predictions #31761

Open
@dprov

Description

@dprov

The parameter y_pred was deprecated in RocCurveDisplay.from_predictions and replaced by y_score. Although the y_pred parameter in DetCurveDisplay.from_predictions has an identical docstring (except for details about the name change), it was not renamed.

It seems to me that both signatures should match in that regard.

I'm not sure if it applies to other binary display parameters, but this relates to #30717.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions