Skip to main content
. 2022 May 25;35(3):e00179-21. doi: 10.1128/cmr.00179-21

TABLE 3.

Evaluation metrics based on positive and negative predictions of a modela

Evaluation metric Equation
Error rate =FP+FNTP+FP+TN+FN
Accuracy =TP+TNTP+FP+TN+FN
Precision =TPTP+FP
Recall/Sensitivity =TPTP+FN
Specificity =TNTN+FP
F1 =2P×R(P+R)
a

TP, true positive; FP, false positive; TN, true negative; FN, false negative; P, precision; R, recall.