$\color{black}\rule{365px}{3px}$

Mean Average Precision


Precision and Recall

$\color{black}\rule{365px}{3px}$

image.png

Precision


Precision is the ratio of true positives (TP) to the sum of true positives and false positives (FP):

$$ \text{Precision}=\frac{TP}{TP+FP} $$

Precision tells you how many of the positive predictions made by the model were actually correct.

Recall


Recall (or sensitivity) is the ratio of true positives to the sum of true positives and false negatives (FN):

$$ \text{Recall}=\frac{TP}{TP+FN} $$

Recall tells you how many of the actual positive cases were correctly identified by the model.

Precision-Recall(PR) Curve & Average Precision

$\color{black}\rule{365px}{3px}$