Difference between revisions of "Precision and recall"

$\text{precision} = \frac{tp}{tp + fp}$
$\text{recall} = \frac{tp}{tp + fn},$
where $tp$ is the number of true positives, $fp$ the number of false positives, and $fn$ the number of false negatives.