Skip to content

Commit da0dac3

Browse files
DOC Link Visualization tools to their respective interpretation (scikit-learn#31306)
1 parent a69849a commit da0dac3

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

sklearn/metrics/_plot/confusion_matrix.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ class ConfusionMatrixDisplay:
2121
create a :class:`ConfusionMatrixDisplay`. All parameters are stored as
2222
attributes.
2323
24-
Read more in the :ref:`User Guide <visualizations>`.
24+
For general information regarding `scikit-learn` visualization tools, see
25+
the :ref:`Visualization Guide <visualizations>`.
26+
For guidance on interpreting these plots, refer to the
27+
:ref:`Model Evaluation Guide <confusion_matrix>`.
2528
2629
Parameters
2730
----------
@@ -220,7 +223,10 @@ def from_estimator(
220223
):
221224
"""Plot Confusion Matrix given an estimator and some data.
222225
223-
Read more in the :ref:`User Guide <confusion_matrix>`.
226+
For general information regarding `scikit-learn` visualization tools, see
227+
the :ref:`Visualization Guide <visualizations>`.
228+
For guidance on interpreting these plots, refer to the
229+
:ref:`Model Evaluation Guide <confusion_matrix>`.
224230
225231
.. versionadded:: 1.0
226232
@@ -365,7 +371,10 @@ def from_predictions(
365371
):
366372
"""Plot Confusion Matrix given true and predicted labels.
367373
368-
Read more in the :ref:`User Guide <confusion_matrix>`.
374+
For general information regarding `scikit-learn` visualization tools, see
375+
the :ref:`Visualization Guide <visualizations>`.
376+
For guidance on interpreting these plots, refer to the
377+
:ref:`Model Evaluation Guide <confusion_matrix>`.
369378
370379
.. versionadded:: 1.0
371380

0 commit comments

Comments
 (0)