Skip to content
LaTeX (KaTeX) templates

Math — Classifier Metrics

Precision, recall and the F1 score.

Template previewLaTeX (KaTeX)
precision=TPTP+FP\text{precision} = \frac{TP}{TP + FP}recall=TPTP+FN\text{recall} = \frac{TP}{TP + FN}F1=2PRP+RF_1 = \frac{2PR}{P + R}accuracy=TP+TNtotal\text{accuracy} = \frac{TP + TN}{\text{total}}

What this template contains

Equations
4
Source
4 lines

Make it your own.

\text{precision} = \frac{TP}{TP + FP}

\text{recall} = \frac{TP}{TP + FN}

F_1 = \frac{2PR}{P + R}

\text{accuracy} = \frac{TP + TN}{\text{total}}