Skip to main content

Table 1 Definitions of evaluation metrics

From: Predicting polypharmacy in half a million adults in the Iranian population: comparison of machine learning algorithms

Performance measures

Definitions

Accuracy

(TP + TN)/(TP + FP + FN + TN)

Precision

TP/(TP + FP)

Recall/ Sensitivity

TP/(TP + FN)

Specificity

TN/(TN + FP)

F1-score

(2 × TP)/(2 × TP + FP + FN)

  1. True positive (TP), true negative (TN), false positive (FP), false negative (FN)