8000 DOC Updated confusion matrix metric docstring (#15163) · jeremiedbb/scikit-learn@cad5a92 · GitHub
[go: up one dir, main page]

Skip to content

Commit cad5a92

Browse files
vnherdeiroqinhanmin2014
authored andcommitted
DOC Updated confusion matrix metric docstring (scikit-learn#15163)
1 parent b47a18c commit cad5a92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/metrics/classification.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def confusion_matrix(y_true, y_pred, labels=None, sample_weight=None):
197197
"""Compute confusion matrix to evaluate the accuracy of a classification
198198
199199
By definition a confusion matrix :math:`C` is such that :math:`C_{i, j}`
200-
is equal to the number of observations known to be in group :math:`i` but
200+
is equal to the number of observations known to be in group :math:`i` and
201201
predicted to be in group :math:`j`.
202202
203203
Thus in binary classification, the count of true negatives is

0 commit comments

Comments
 (0)
0