8000 DOC add link to plot_confusion_matrix example in confusion_matrix.py … · scikit-learn/scikit-learn@fae33fa · GitHub
[go: up one dir, main page]

Skip to content

Commit fae33fa

Browse files
DOC add link to plot_confusion_matrix example in confusion_matrix.py (#30949)
Co-authored-by: Maren Westermann <maren.westermann@gmail.com>
1 parent d99c7cf commit fae33fa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sklearn/metrics/_plot/confusion_matrix.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,10 @@ def from_estimator(
316316
... clf, X_test, y_test)
317317
<...>
318318
>>> plt.show()
319+
320+
For a detailed example of using a confusion matrix to evaluate a
321+
Support Vector Classifier, please see
322+
:ref:`sphx_glr_auto_examples_model_selection_plot_confusion_matrix.py`
319323
"""
320324
method_name = f"{cls.__name__}.from_estimator"
321325
check_matplotlib_support(method_name)

0 commit comments

Comments
 (0)
0