8000 DOC Add reference to PrecisionRecallDisplay in average_precision_scor… · scikit-learn/scikit-learn@f16de74 · GitHub
[go: up one dir, main page]

Skip to content

Commit f16de74

Browse files
authored
DOC Add reference to PrecisionRecallDisplay in average_precision_score docstring (#31305)
1 parent 4c453e9 commit f16de74

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sklearn/metrics/_ranking.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@ def average_precision_score(
183183
roc_auc_score : Compute the area under the ROC curve.
184184
precision_recall_curve : Compute precision-recall pairs for different
185185
probability thresholds.
186+
PrecisionRecallDisplay.from_estimator : Plot the precision recall curve
187+
using an estimator and data.
188+
PrecisionRecallDisplay.from_predictions : Plot the precision recall curve
189+
using true and predicted labels.
186190
187191
Notes
188192
-----

0 commit comments

Comments
 (0)
0