Research Article

Enhancing Type 2 Diabetes Prediction via SMOTEENN and Weighted Voting Classifiers: Balancing Recall and Accuracy in Imbalanced Medical Data

Yuchen Chen*
Fryeburg Academy, 745 Main Street, Fryeburg, ME 04037, US

* Corresponding author: [email protected]

Abstract

Diabetes is a chronic disease with significant health and economic impacts worldwide. Early prediction of type 2 diabetes is critical for timely intervention and prevention of severe complications. This study evaluates multiple machine learning classifiers—Logistic Regression, Random Forest, XGBoost, and AdaBoost—along with two configurations of a Voting Classifier, to identify patients at risk of diabetes using clinical and demographic data. To address class imbalance, the SMOTEENN technique was applied, combining oversampling with noise removal. Models were assessed on Accuracy, Recall, Precision, and Macro-F1 score, with a primary focus on recall for the positive (diabetes) class, given its significance in clinical screening. Results indicate that Random Forest achieved the highest accuracy (0.81), whereas the weighted Voting Classifier—with increased weight assigned to XGBoost—achieved the highest recall (0.87), though at the expense of overall accuracy. These findings underscore the trade-off between recall and precision in diagnostic modeling. They also suggest that model choice should be context-dependent: recall-optimized models for high-risk screening, and balanced models for general population screening.

Keywords: Diabetes prediction; Machine learning; SMOTEENN; Voting Classifier; Recall
Published: October 22, 2025
DOI: 10.54254/2755-2721/2026.TJ28428
Volume: ACE Vol.190
pp. 49-53
Download PDF

References

  1. Chawla, N. V., Bowyer, K. W., Hall, L. O., & Kegelmeyer, W. P. (2002). SMOTE: Synthetic minority over-sampling technique. Journal of Artificial Intelligence Research, 16, 321–357. https: //doi.org/10.1613/jair.953
  2. Fernández, A., García, S., Herrera, F., & Chawla, N. V. (2018). SMOTE for learning from imbalanced data: Progress and challenges, marking the 15-year anniversary. Journal of Artificial Intelligence Research, 61, 863–905. https: //doi.org/10.1613/jair.1.11192
  3. Sisodia, D. S., & Sisodia, D. (2018). Prediction of diabetes using classification algorithms. Procedia Computer Science, 132, 1578–1585. https: //doi.org/10.1016/j.procs.2018.05.122
  4. Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5–32. https: //doi.org/10.1023/A: 1010933404324
  5. Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 785–794). ACM. https: //doi.org/10.1145/2939672.2939785