Skip to main content
. 2018 Aug 2;13(8):e0201793. doi: 10.1371/journal.pone.0201793

Table 3. Classifier performance measures based on the confusion matrix method.

Accuracy TP+TNTP+TN+FP+FN
Sensitivity (True Positive Rate) TPTP+FN
Specificity (True Negative Rate) TNTN+FP

Accuracy was computed as the proportion of correctly classified samples. Sensitivity and specificity were computed as the rate of correctly predicted samples in the positive and negative labeled class, respectively (TP: true positive; TN: true negative; FP: false positive; FN: false negative).