What is the mAP metric and how is it calculated?

cerebrou picture cerebrou · Mar 29, 2016 · Viewed 59.6k times · Source

In computer vision and object detection, the common evaluation method is mAP. What is it and how is it calculated?

Answer

Ankitp picture Ankitp · May 28, 2016

mAP is Mean Average Precision.

Its use is different in the field of Information Retrieval (Reference [1] [2] )and Multi-Class classification (Object Detection) settings.

To calculate it for Object Detection, you calculate the average precision for each class in your data based on your model predictions. Average precision is related to the area under the precision-recall curve for a class. Then Taking the mean of these average individual-class-precision gives you the Mean Average Precision.

To calculate Average Precision, see [3]