🔎  Mean Average Precision (MAP)

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:

\[\text{MAP} = \frac{1}{|U|}\sum_{u \in U} \text{AP}_u.\]

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



See also

Source article Adapted (context, re-expressed) in our own words from: Mean Average Precision (MAP) (insightful-data-lab.com).

Tags: purpose: reference topic: terminology level: advanced