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)