Mean Average Precision (MAP)

MAP

MAP is the mean of the Average Precision (AP) scores across all queries. AP summarizes a precision-recall curve into a single number for a ranked list.

Average Precision

where:

  • — total number of relevant documents
  • — precision at position
  • — 1 if document at position is relevant, 0 otherwise
  • Sum only over positions where a relevant document appears

MAP

What AP Captures

AP rewards placing relevant documents early in the ranking. A relevant document at position 1 contributes , while one at position 100 contributes much less. Unlike P@k, AP considers all relevant documents.

Appears In