Table 2 The performance evaluation measures.

From: Explainable artificial intelligence for stroke prediction through comparison of deep learning and machine learning models

Evaluation measures

Formula

Accuracy

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

Sensitivity/ Recall

TP/ (TP + FN)

Specificity

TN/ (TN + FP)

F1-measure

2* ((Precision * Sensitivity) / (Precision + Sensitivity))