Table 6 Comparison of the performance of the ML models.

From: Age-related variation in hemoglobin glycation index and stroke mortality: mediation and machine learning in a cohort study

ML models

Accuracy

Precision

Recall

Specificity

F1-score

G-mean

Random forest

76.66%

0.505

0.437

0.868

0.469

0.616

XGBoost

74.62%

0.454

0.381

0.859

0.414

0.572

Decision tree

76.15%

0.489

0.290

0.907

0.364

0.513

SVM

76.76%

0.636

0.030

0.995

0.058

0.174