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

Skip to content

Consolidation of the naming of y_pred_proba, y_score vs probas_pred #27994

Closed
@adam2392

Description

@adam2392

Describe the issue linked to the documentation

I am trying to leverage the classification metrics that rely on a posterior probability (i.e. P(Y | X=x)). This is commonly named y_pred_proba in the sklearn API.

However, I noticed a discrepancy in the naming of the argument for this in various metrics. For example:

Based on the glossary, only y_score has anything related by ctrl+f.

Suggest a potential alternative/fix

Perhaps we can name them all y_score to be consistent? E.g. the following two metrics

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