Untitled

$$

\text{Accuracy} = \frac{TP + TN}{TP + TN + FP + FN}

\\

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

\text{Specificity} = \frac{TN}{TN + FP}
\\ \text{Recall} = \frac{TP}{TP + FN} \\ F1 = 2 \times \frac{\text{Precision} \times \text{Recall}}{\text{Precision} + \text{Recall}}

$$