Expand description
Retrieval quality metrics.
Ordinary information-retrieval measures, defined here rather than pulled in so the eval harness has no dependency of its own and the definitions are visible next to the thresholds they are judged against.
Functionsยง
- mean
- Mean of a set of per-case scores.
- ndcg
- Normalized discounted cumulative gain over binary relevance.
- percentile
- The
pth percentile of a sample, by nearest rank. - precision
- Fraction of returned results that were relevant.
- recall
- Fraction of relevant results that were returned.
- reciprocal_
rank - Reciprocal of the rank of the first relevant result.