Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0724800

Browse filesBrowse files
DOC Link PrecisionRecallDisplay to visualization and evaluation guides (#31308)
1 parent 75c7bc0 commit 0724800
Copy full SHA for 0724800

File tree

1 file changed

+14
-1
lines changed
Filter options

1 file changed

+14
-1
lines changed

‎sklearn/metrics/_plot/precision_recall_curve.py

Copy file name to clipboardExpand all lines: sklearn/metrics/_plot/precision_recall_curve.py
+14-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ class PrecisionRecallDisplay(_BinaryClassifierCurveDisplayMixin):
2020
a :class:`~sklearn.metrics.PrecisionRecallDisplay`. All parameters are
2121
stored as attributes.
2222
23-
Read more in the :ref:`User Guide <visualizations>`.
23+
For general information regarding `scikit-learn` visualization tools, see
24+
the :ref:`Visualization Guide <visualizations>`.
25+
For guidance on interpreting these plots, refer to the :ref:`Model
26+
Evaluation Guide <precision_recall_f_measure_metrics>`.
2427
2528
Parameters
2629
----------
@@ -276,6 +279,11 @@ def from_estimator(
276279
):
277280
"""Plot precision-recall curve given an estimator and some data.
278281
282+
For general information regarding `scikit-learn` visualization tools, see
283+
the :ref:`Visualization Guide <visualizations>`.
284+
For guidance on interpreting these plots, refer to the :ref:`Model
285+
Evaluation Guide <precision_recall_f_measure_metrics>`.
286+
279287
Parameters
280288
----------
281289
estimator : estimator instance
@@ -416,6 +424,11 @@ def from_predictions(
416424
):
417425
"""Plot precision-recall curve given binary class predictions.
418426
427+
For general information regarding `scikit-learn` visualization tools, see
428+
the :ref:`Visualization Guide <visualizations>`.
429+
For guidance on interpreting these plots, refer to the :ref:`Model
430+
Evaluation Guide <precision_recall_f_measure_metrics>`.
431+
419432
Parameters
420433
----------
421434
y_true : array-like of shape (n_samples,)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.