Consolidation of the naming of y_pred_proba
, y_score
vs probas_pred
#27994
Labels
y_pred_proba
, y_score
vs probas_pred
#27994
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:
probas_pred
y_score
y_prob
y_score
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 metricsThe text was updated successfully, but these errors were encountered: