Skip to main content
. 2021 Jul 2;12:667936. doi: 10.3389/fgene.2021.667936

TABLE 3.

Performance metrics.

Performance metrics Definition Formula
Accuracy The ratio of the number of correctly predicted observations to total observations TP+TNTP+FP+FN+TN
Sensitivity or recall The proportion of positives that are correctly identified as positive by the model TP(FN+TP)
Specificity The proportion of negatives that are correctly identified as negative by the model TN(TN+FP)
Precision The proportion of true positives out of all predicted positives TP(TP+FP)
F1 Score The harmonic mean of precision and recall 2precision×recallprecision+recall