Diabetes at a Glance: Assessing AI Strategies for Early Diabetes Detection and Intervention via a Mobile App
Main Article Content
Abstract
Diabetes is a widespread disease worldwide that does not differentiate between children and adults. It also affects the elderly and pregnant women. However, early detection of the disease facilitates its control to avoid the effects resulting from delayed diagnosis. With the emergence of artificial intelligence represented by machine learning techniques and its use in most sectors, accordingly, the adoption of machine learning techniques to help in disease prediction has become a necessity. This study proposes a machine learning algorithm-based approach for diabetes prediction. This study uses three datasets, two of which are private and the other includes the Pima Indians dataset. Six machine-learning models have been used and evaluated in this study including Gaussian Naive Bayes model. Bernoulli Naive Bayes Model, Bagging Regressor Model, Neural Network Architecture, Multilayer perceptron, and SVR. To address the imbalance in classes of the private datasets, the SMOTE technique has been utilized. To analyze the state of the arts, a systematic literature review was conducted. The results showed that the Bagging Regressor algorithm is the best among the used algorithms in terms of the accuracy of the derived results. It achieved an accuracy of 99.79 with SMOTE included and 97.95 without SMOTE. A smart mobile application was developed based on the proposed approach that facilitates clinicians to predict diabetes. This study strengthens the theoretical foundations of machine learning in healthcare by presenting a robust and empirically validated approach for early detection and prediction of diabetes. The findings not only advance academic knowledge but also provide practical guidance for developing AI-based diagnostic tools in clinical settings.
Article Details
Issue
Section

This work is licensed under a Creative Commons Attribution 4.0 International License.
How to Cite
References
[1] D. J. I. D. A. Atlas, 7th edn. Brussels, Belgium: International Diabetes Federation, "International diabetes federation," vol. 33, no. 2, 2015.
[2] R. A. Sowah et al., "Design and development of diabetes management system using machine learning," vol. 2020, no. 1, p. 8870141, 2020.
[3] K. J. I. J. o. S. R. i. C. S. Rani, Engineering and I. Technology, "Diabetes prediction using machine learning," vol. 6, pp. 294-305, 2020.
[4] M. K. Hasan, M. A. Alam, D. Das, E. Hossain, and M. J. I. A. Hasan, "Diabetes prediction using ensembling of different machine learning classifiers," vol. 8, pp. 76516-76531, 2020.
[5] A. Aada and S. J. I. J. S. R. E. T. Tiwari, "Predicting diabetes in medical datasets using machine learning techniques," vol. 5, no. 2, pp. 257-267, 2019.
[6] R. M. Al-Amri, A. A. Hadi, M. S. Kadhim, A. H. Mousa, A. Z. Matloob, and H. F. Hasan, "Enhancement of The Performance of Machine Learning Algorithms to Rival Deep Learning Algorithms in Predicting Stock Prices," Babylonian Journal of Artificial Intelligence, vol. 2024, pp. 118-127, 2024.
[7] J. J. Khanam and S. Y. J. I. E. Foo, "A comparison of machine learning algorithms for diabetes prediction," vol. 7, no. 4, pp. 432-439, 2021.
[8] P. Saeedi et al., "Global and regional diabetes prevalence estimates for 2019 and projections for 2030 and 2045: Results from the International Diabetes Federation Diabetes Atlas," vol. 157, p. 107843, 2019.
[9] R. Hendawi, J. Li, and S. J. J. F. R. Roy, "A Mobile App That Addresses Interpretability Challenges in Machine Learning–Based Diabetes Predictions: Survey-Based User Study," vol. 7, no. 1, p. e50328, 2023.
[10] C. G. Estonilo and E. D. Festijo, "Development of deep learning-based mobile application for predicting diabetes mellitus," in 2021 4th international conference of computer and informatics engineering (IC2IE), 2021: IEEE, pp. 13-18.
[11] A. Z. Woldaregay et al., "Data-driven modeling and prediction of blood glucose dynamics: Machine learning applications in type 1 diabetes," vol. 98, pp. 109-134, 2019.
[12] C.-Y. Chou, D.-Y. Hsu, and C.-H. J. J. o. P. M. Chou, "Predicting the onset of diabetes with machine learning methods," vol. 13, no. 3, p. 406, 2023.
[13] A. Al-Zubidy and J. C. J. E. S. E. Carver, "Identification and prioritization of SLR search tool requirements: an SLR and a survey," vol. 24, pp. 139-169, 2019.
[14] V. Luceri, M. Pirri, J. Rodríguez, G. Appleby, E. C. Pavlis, and H. J. J. o. G. Müller, "Systematic errors in SLR data and their impact on the ILRS products," vol. 93, no. 11, pp. 2357-2366, 2019.
[15] H. Kaur, V. J. A. c. Kumari, and informatics, "Predictive modelling and analytics for diabetes using a machine learning approach," vol. 18, no. 1/2, pp. 90-100, 2022.
[16] P. Mishra, A. Sharma, and A. J. I. T. i. I. Badholia, "Predictive modelling and analytics for diabetes using a machine learning approach," vol. 9, no. 1, pp. 215-223, 2021.
[17] S. J. J. o. M. I. Albahli and H. Informatics, "Type 2 machine learning: an effective hybrid prediction model for early type 2 diabetes detection," vol. 10, no. 5, pp. 1069-1075, 2020.
[18] N. S. Khan, M. H. Muaz, A. Kabir, and M. N. Islam, "Diabetes predicting mhealth application using machine learning," in 2017 IEEE international WIE conference on electrical and computer engineering (WIECON-ECE), 2017: IEEE, pp. 237-240.
[19] M. B. Sampa, T. Biswas, M. S. Rahman, N. H. B. A. Aziz, M. N. Hossain, and N. A. J. J. d. Ab Aziz, "A Machine Learning Web App to Predict Diabetic Blood Glucose Based on a Basic Noninvasive Health Checkup, Sociodemographic Characteristics, and Dietary Information: Case Study," vol. 8, no. 1, p. e49113, 2023.
[20] P. Rajendra, S. J. C. M. Latifi, and P. i. B. Update, "Prediction of diabetes using logistic regression and ensemble techniques," vol. 1, p. 100032, 2021.
[21] Z. Zhang et al., "Machine learning prediction models for gestational diabetes mellitus: meta-analysis," vol. 24, no. 3, p. e26634, 2022.
[22] H. Nouraei, H. Nouraei, and S. W. J. B. Rabkin, "Comparison of unsupervised machine learning approaches for cluster analysis to define subgroups of heart failure with preserved ejection fraction with different outcomes," vol. 9, no. 4, p. 175, 2022.
[23] G. Al-Kharusi, N. J. Dunne, S. Little, and T. J. J. B. Levingstone, "The role of machine learning and design of experiments in the advancement of biomaterial and tissue engineering research," vol. 9, no. 10, p. 561, 2022.
[24] A. Zaitcev et al., "A deep neural network application for improved prediction of $text {HbA} _ {text {1c}} $ in type 1 diabetes," vol. 24, no. 10, pp. 2932-2941, 2020.
[25] M. Matabuena, P. Félix, C. García-Meixide, F. J. C. M. Gude, and P. i. Biomedicine, "Kernel machine learning methods to handle missing responses with complex predictors. Application in modelling five-year glucose changes using distributional representations," vol. 221, p. 106905, 2022.
[26] S. I. Sherwani, H. A. Khan, A. Ekhzaimy, A. Masood, and M. K. J. B. i. Sakharkar, "Significance of HbA1c test in diagnosis and prognosis of diabetic patients," vol. 11, p. BMI. S38440, 2016.
[27] S. A. Moamin, M. K. Abdulhameed, R. M. Al-Amri, A. D. Radhi, R. K. Naser, and L. G. Pheng, "Artificial Intelligence in Malware and Network Intrusion Detection: A Comprehensive Survey of Techniques, Datasets, Challenges, and Future Directions," Babylonian Journal of Artificial Intelligence, vol. 2025, pp. 77-98, 2025.
[28] M. Bakouri, H. S. Sultan, S. Samad, H. Togun, and M. Goodarzi, "Predicting thermophysical properties enhancement of metal-based phase change materials using various machine learning algorithms," Journal of the Taiwan Institute of Chemical Engineers, vol. 148, p. 104934, 2023.
[29] A. Ram and H. Vishwakarma, "Diabetes prediction using machine learning and data mining methods," in IOP Conference Series: Materials Science and Engineering, 2021, vol. 1116, no. 1: IOP Publishing, p. 012135.
[30] H. A. J. I. A. Al-Jamimi, "Synergistic feature engineering and ensemble learning for early chronic disease prediction," 2024.
[31] R. Al-Amri, A. Hadi, A. H. Mousa, H. Hasan, and M. Kadhim, "The development of a deep learning model for predicting stock prices," J. Adv. Res. Appl. Sci. Eng. Technol, vol. 31, pp. 208-219, 2023.
[32] D. F. M. Mohideen, J. S. S. Raj, R. S. P. J. B. A. o. B. Raj, and Technology, "Regression imputation and optimized Gaussian Naïve Bayes algorithm for an enhanced diabetes mellitus prediction model," vol. 64, p. e21210181, 2021.
[33] T. B. Chandra, A. S. Reddy, A. Adarsh, M. Jabbar, and B. Jyothi, "Diabetes Prediction Using Gaussian Naive Bayes and Artificial Neural Network," in 2024 International Conference on Distributed Computing and Optimization Techniques (ICDCOT), 2024: IEEE, pp. 1-5.
[34] I. K. Harith, W. Nadir, M. S. Salah, and A. Majdi, "Estimating the joint shear strength of exterior beam–column joints using artificial neural networks via experimental results," Innovative Infrastructure Solutions, vol. 9, no. 2, p. 38, 2024.
[35] F. M. Okikiola, O. S. Adewale, and O. O. J. F. J. O. S. Obe, "A diabetes prediction classifier model using naive bayes algorithm," vol. 7, no. 1, pp. 253-260, 2023.
[36] A. Z. Arrayyan, H. Setiawan, and K. T. J. S. T. Putra, "Naive Bayes for Diabetes Prediction: Developing a Classification Model for Risk Identification in Specific Populations," vol. 27, no. 1, pp. 28-36, 2024.
[37] A. Dutta et al., "Early prediction of diabetes using an ensemble of machine learning models," vol. 19, no. 19, p. 12378, 2022.
[38] A. Chandramouli, V. R. Hyma, P. S. Tanmayi, T. G. Santoshi, and B. J. E. C. Priyanka, "Diabetes prediction using hybrid bagging classifier," vol. 47, p. 100593, 2023.
[39] M. M. Bukhari, B. F. Alkhamees, S. Hussain, A. Gumaei, A. Assiri, and S. S. J. C. Ullah, "An improved artificial neural network model for effective diabetes prediction," vol. 2021, no. 1, p. 5525271, 2021.
[40] N. Pradhan, G. Rani, V. S. Dhaka, and R. C. Poonia, "Diabetes prediction using artificial neural network," in Deep Learning Techniques for Biomedical and Health Informatics: Elsevier, 2020, pp. 327-339.
[41] M. S. Shafeea, "The role of emerging innovations in the future of surgery and the need for medical education adaptation: a letter to the editor," Journal of Robotic Surgery, vol. 19, no. 1, p. 383, 2025.
[42] G. Verma, H. J. I. J. o. G. Verma, and D. Computing, "A multilayer perceptron neural network model for predicting diabetes," vol. 13, no. 1, pp. 1018-1025, 2020.
[43] H. Bani-Salameh et al., "Prediction of diabetes and hypertension using multi-layer perceptron neural networks," vol. 12, no. 02, p. 2150012, 2021.
[44] N. Z. Khalaf, I. I. Al Barazanchi, A. Radhi, S. Parihar, P. Shah, and R. Sekhar, "Development of real-time threat detection systems with AI-driven cybersecurity in critical infrastructure," Mesopotamian Journal of CyberSecurity, vol. 5, no. 2, pp. 501-513, 2025.
[45] A. Viloria, Y. Herazo-Beltran, D. Cabrera, and O. B. J. P. C. S. Pineda, "Diabetes diagnostic prediction using vector support machines," vol. 170, pp. 376-381, 2020.
[46] R. S. Raj, D. Sanjay, M. Kusuma, and S. Sampath, "Comparison of support vector machine and Naive Bayes classifiers for predicting diabetes," in 2019 1st International Conference on Advanced Technologies in Intelligent Control, Environment, Computing & Communication Engineering (ICATIECE), 2019: IEEE, pp. 41-45.
[47] A. J. Mohammed, M. Muhammed Hassan, D. J. I. J. o. A. T. i. C. S. Hussein Kadir, and Engineering, "Improving classification performance for a novel imbalanced medical dataset using SMOTE method," vol. 9, no. 3, pp. 3161-3172, 2020.
[48] H. Hairani, A. Anggrawan, and D. J. J. i. j. o. i. v. Priyanto, "Improvement performance of the random forest method on unbalanced diabetes data classification using Smote-Tomek Link," vol. 7, no. 1, pp. 258-264, 2023.
[49] S. Almas et al., "Visual impairment prevention by early detection of diabetic retinopathy based on stacked auto-encoder," vol. 15, no. 1, p. 2554, 2025.
[50] J. Xie and Q. J. I. T. o. B. E. Wang, "Benchmarking machine learning algorithms on blood glucose prediction for type I diabetes in comparison with classical time-series models," vol. 67, no. 11, pp. 3101-3124, 2020.
[51] L. M. A. Al-Huseini, N. J. Kadhim, M. S. Mahdi, R. H. Ogaili, and O. Al-Hammood, "Microbial infection disease diagnosis and treatment by artificial intelligence," Wiad Lek, vol. 78, no. 2, pp. 442-447, 2025.