Skip to content

Commit bb4cdde

Browse files
committed
DOC clarify input to _ovr_decision_function
1 parent 1966f0b commit bb4cdde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/utils/multiclass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ def class_distribution(y, sample_weight=None):
401401

402402

403403
def _ovr_decision_function(predictions, confidences, n_classes):
404-
"""Compute a continuous, tie-breaking ovr decision function.
404+
"""Compute a continuous, tie-breaking OvR decision function from OvO.
405405
406406
It is important to include a continuous value, not only votes,
407407
to make computing AUC or calibration meaningful.

0 commit comments

Comments
 (0)