Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6eb25ca

Browse files
WeijiaDuWeijia DU
and
Weijia DU
authored
DOC fix numpydoc errors in classification_report (#22803)
* fix classification_report errors in NumpyDoc * DOC fix numpydoc errors in classification_report Co-authored-by: Weijia DU <[email protected]>
1 parent 45d70df commit 6eb25ca

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

sklearn/metrics/_classification.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2084,8 +2084,11 @@ def classification_report(
20842084
20852085
See Also
20862086
--------
2087-
precision_recall_fscore_support, confusion_matrix,
2088-
multilabel_confusion_matrix
2087+
precision_recall_fscore_support: Compute precision, recall, F-measure and
2088+
support for each class.
2089+
confusion_matrix: Compute confusion matrix to evaluate the accuracy of a
2090+
classification.
2091+
multilabel_confusion_matrix: Compute a confusion matrix for each class or sample.
20892092
20902093
Examples
20912094
--------

sklearn/tests/test_docstrings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
"sklearn.manifold._locally_linear.locally_linear_embedding",
5050
"sklearn.manifold._t_sne.trustworthiness",
5151
"sklearn.metrics._classification.brier_score_loss",
52-
"sklearn.metrics._classification.classification_report",
5352
"sklearn.metrics._classification.cohen_kappa_score",
5453
"sklearn.metrics._classification.fbeta_score",
5554
"sklearn.metrics._classification.hinge_loss",

0 commit comments

Comments
 (0)