Skip to main content
. 2017 Aug 1;10:27. doi: 10.1186/s13040-017-0148-2

Table 2.

Statistical measures and their formulas used for evaluating the classifiers

Statistical measure Formula
Accuracy TP+TNTP+TN+FP+FN
Sensitivity TPTP+FP
Specificity TNTN+FP
Precision TPTP+FP
F-score 2TP2TP+FP+FN
MCC TPTNFPFN(TP+FP)(TP+FN)(TN+FP)(TN+FN)

TP are true positives, TN are true negatives, FP are false positives, FN are false negatives