Skip to content

Commit 97e7245

Browse files
committed
Merge pull request scikit-learn#6760 from maniteja123/average_precision
DOC: Improve docs for average precision score
2 parents 4d6f977 + e8d331f commit 97e7245

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/modules/model_evaluation.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,8 @@ by varying a decision threshold.
555555

556556
The :func:`average_precision_score` function computes the average precision
557557
(AP) from prediction scores. This score corresponds to the area under the
558-
precision-recall curve.
558+
precision-recall curve. The value is between 0 and 1 and higher is better.
559+
With random predictions, the AP is the fraction of positive samples.
559560

560561
Several functions allow you to analyze the precision, recall and F-measures
561562
score:

0 commit comments

Comments
 (0)