Skip to content

Commit a9f19c1

Browse files
committed
add some info in docstring
Signed-off-by: thibaultdvx <[email protected]>
1 parent 4fc9cf5 commit a9f19c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

monai/metrics/average_precision.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
class AveragePrecisionMetric(CumulativeIterationMetric):
3030
"""
3131
Computes Average Precision (AP). AP is a useful metric to evaluate a classifier when the classes are
32-
imbalanced. It summarizes a Precision-Recall curve as the weighted mean of precisions achieved at each
32+
imbalanced. It can take values between 0.0 and 1.0, 1.0 being the best possible score.
33+
It summarizes a Precision-Recall curve as the weighted mean of precisions achieved at each
3334
threshold, with the increase in recall from the previous threshold used as the weight:
3435
3536
.. math::

0 commit comments

Comments
 (0)