Home Knowledge Base Mean Average Precision (MAP)

Mean Average Precision (MAP) is the average of Average Precision across multiple queries — the standard metric for evaluating search and retrieval systems across entire query sets, providing a single score for overall system performance.

What Is MAP?

How MAP Works

1. For each query, compute Average Precision (AP). 2. Average AP scores across all queries.

Example

Query 1: AP = 0.8. Query 2: AP = 0.6. Query 3: AP = 0.9.

Why MAP?

MAP@K: Compute MAP considering only top-K results per query.

Advantages

Limitations

MAP vs. Other Metrics

vs. NDCG: MAP binary relevance, NDCG graded relevance. vs. MRR: MAP considers all relevant, MRR only first. vs. Precision@K: MAP comprehensive, P@K single cutoff.

Applications: Search engine evaluation, information retrieval research, recommendation system evaluation, document retrieval.

Tools: trec_eval (standard IR evaluation tool), scikit-learn, IR libraries.

MAP is the gold standard for IR evaluation — by averaging precision across all relevant positions and all queries, MAP provides the most comprehensive single-number assessment of search and retrieval system quality.

mean average precision (map)mean average precisionmapevaluation

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.