---
title: "mean average precision"
type: concept
source: https://www.jemoka.com/posts/kbhmean_average_precision/
confidence: high
status: active
---

at each point a relevant result is returned, calculate precision and then average that and then average the precision over all queries precision \begin{equation} \frac{tp}{tp + fp} \end{equation}
recall \begin{equation} \frac{tp}{tp+fn} \end{equation}
accuracy \begin{equation} \frac{tp + tn}{tp+tn+fp+fn} \end{equation}
f1 \begin{equation} F_1 = \frac{2 (P\cdot R)}{P+R} \end{equation}
