8000 DOC add cross-reference in multilabel_confusion_matrix · rth/scikit-learn@772ffd9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 772ffd9

Browse files
committed
DOC add cross-reference in multilabel_confusion_matrix
1 parent acc13de commit 772ffd9

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

sklearn/metrics/_classification.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -425,14 +425,16 @@ def multilabel_confusion_matrix(
425425
426426
See Also
427427
--------
428-
confusion_matrix
428+
confusion_matrix : Compute confusion matrix to evaluate the accuracy of a
429+
classifier.
429430
430431
Notes
431432
-----
432-
The multilabel_confusion_matrix calculates class-wise or sample-wise
433+
The `multilabel_confusion_matrix` calculates class-wise or sample-wise
433434
multilabel confusion matrices, and in multiclass tasks, labels are
434-
binarized under a one-vs-rest way; while confusion_matrix calculates
435-
one confusion matrix for confusion between every two classes.
435+
binarized under a one-vs-rest way; while
436+
:func:`~sklearn.metrics.confusion_matrix` calculates one confusion matrix
437+
for confusion between every two classes.
436438
437439
Examples
438440
--------

0 commit comments

Comments
 (0)
0