10000 DOC Long sentence was hard to parse and ambiguous in _classification.… · ogrisel/scikit-learn@2edca4c · GitHub
[go: up one dir, main page]

Skip to content

Commit 2edca4c

Browse files
kwinkunksogrisel
authored andcommitted
DOC Long sentence was hard to parse and ambiguous in _classification.py (scikit-learn#15769)
1 parent 4dd1081 commit 2edca4c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sklearn/metrics/_classification.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1916,10 +1916,10 @@ def classification_report(y_true, y_pred, labels=None, target_names=None,
19161916
19171917
The reported averages include macro average (averaging the unweighted
19181918
mean per label), weighted average (averaging the support-weighted mean
1919-
per label), sample average (only for multilabel classification) and
1920-
micro average (averaging the total true positives, false negatives and
1921-
false positives) it is only shown for multi-label or multi-class
1922-
with a subset of classes because it is accuracy otherwise.
1919+
per label), and sample average (only for multilabel classification).
1920+
Micro average (averaging the total true positives, false negatives and
1921+
false positives) is only shown for multi-label or multi-class
1922+
with a subset of classes, because it corresponds to accuracy otherwise.
19231923
See also :func:`precision_recall_fscore_support` for more details
19241924
on averages.
19251925

0 commit comments

Comments
 (0)
0