public class PrecisionRecall extends Object
| Constructor and Description |
|---|
PrecisionRecall() |
| Modifier and Type | Method and Description |
|---|---|
static double |
averagePrecision(List<Double> ranksOfPositives)
"Average Precision is the average of the precision value obtained for the set of top $k$ documents existing after
each relevant document is retrieved, and this value is then averaged over information needs".
|
public static double averagePrecision(List<Double> ranksOfPositives)
totalSize - ranks - of the positives; LOW ranks are considered better. (e.g., rank 0 is the 'best')Copyright © 2003–2023 UBC Michael Smith Laboratories. All rights reserved.