Mean Average Precision (MAP)#
The mean of average-precision scores across queries.
Important
✨ AI-generated content. This page was written with the assistance of an AI language model and is provided as a learning aid. Despite careful review, it may still contain mistakes, omissions, or out-of-date information. Whether you are new to the topic, a team lead, or a senior practitioner, treat it as a starting point rather than an authoritative reference: read it critically and independently verify anything you act on (code, commands, figures, and factual claims) against official documentation and primary sources before relying on it.
What it is#
Mean Average Precision is the mean, across all users, of each user’s Average Precision (AP). AP averages the precision measured at every rank where a relevant item appears — the area under that user’s precision–recall curve:
It rolls per-user ranking quality into one number.
What AP rewards#
Because AP recomputes precision at each relevant position, it emphasizes getting relevant items early — a relevant item at rank 1 lifts every later precision term, while one at rank 10 lifts few. So MAP is strongly order-sensitive, rewarding front-loaded relevance.
How it compares#
MAP works with binary relevance (relevant or not), where NDCG handles graded relevance; MAP summarizes the whole precision–recall trade-off, where Hit Rate only checks for any hit. Reported at a cutoff (MAP@K), it is a standard top-N metric for search and recommendation.
Theme: Ranking & Interleaving · All terminology
Hint
Mind map — connected ideas
Average Precision (AP) · NDCG (Normalized Discounted Cumulative Gain) · Hit Rate (HR) · DCG (Discounted Cumulative Gain) · Precision (a.k.a. Positive Predictive Value, PPV) · Relevance in Recommender Systems
Hint
More in Ranking & Interleaving
Balanced Interleaving · DCG (Discounted Cumulative Gain) · Interleaving Tests · NDCG (Normalized Discounted Cumulative Gain) · Probabilistic Interleaving · Ranking Algorithms · Team Draft Interleaving (TDI) · TREC (Text REtrieval Conference)
See also
Source article Adapted (context, re-expressed) in our own words from: Mean Average Precision (MAP) (insightful-data-lab.com).