CFP last date
20 August 2026
Reseach Article

Classification of Diabetes Mellitus: A Comparative Analysis of various Machine Learning Algorithms

by Esha Nadeem, Rameez Asif, Ali Raza, Adil Mustafa
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 187 - Number 129
Year of Publication: 2026
Authors: Esha Nadeem, Rameez Asif, Ali Raza, Adil Mustafa
10.5120/ijca544d1849f443

Esha Nadeem, Rameez Asif, Ali Raza, Adil Mustafa . Classification of Diabetes Mellitus: A Comparative Analysis of various Machine Learning Algorithms. International Journal of Computer Applications. 187, 129 ( Jul 2026), 1-9. DOI=10.5120/ijca544d1849f443

@article{ 10.5120/ijca544d1849f443,
author = { Esha Nadeem, Rameez Asif, Ali Raza, Adil Mustafa },
title = { Classification of Diabetes Mellitus: A Comparative Analysis of various Machine Learning Algorithms },
journal = { International Journal of Computer Applications },
issue_date = { Jul 2026 },
volume = { 187 },
number = { 129 },
month = { Jul },
year = { 2026 },
issn = { 0975-8887 },
pages = { 1-9 },
numpages = {9},
url = { https://ijcaonline.org/archives/volume187/number129/classification-of-diabetes-mellitus-a-comparative-analysis-of-various-machine-learning-algorithms/ },
doi = { 10.5120/ijca544d1849f443 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
}
%0 Journal Article
%1 2026-07-29T00:34:38.600908+05:30
%A Esha Nadeem
%A Rameez Asif
%A Ali Raza
%A Adil Mustafa
%T Classification of Diabetes Mellitus: A Comparative Analysis of various Machine Learning Algorithms
%J International Journal of Computer Applications
%@ 0975-8887
%V 187
%N 129
%P 1-9
%D 2026
%I Foundation of Computer Science (FCS), NY, USA
Abstract

Diabetes Mellitus, a widespread metabolic disorder characterised by hyperglycaemia, poses a significant global health concern. Unfortunately, it is often diagnosed only after symptoms have developed, thereby reducing opportunities for early intervention. Traditional diagnostic methods primarily identify individuals who are already symptomatic, leaving many at-risk individuals undetected. By integrating machine learning models with Electronic Health Records, it may be possible to identify individuals at high risk during routine health assessments, enabling earlier intervention. This study aims to compare different machine learning algorithms to determine whether an individual has diabetes. Several performance metrics are used for comparison, including precision, accuracy, F1-score, recall, and computational efficiency. The methodology begins with the pre-processing of the Pima Indians Diabetes Dataset, followed by the training, testing, and validation of four machine learning algorithms: Support Vector Machine, Decision Tree, Artificial Neural Network, and Random Forest, implemented using Python. The process is then repeated in MATLAB using an augmented dataset, and the resulting performances are compared. The Random Forest algorithm achieved the highest prediction accuracy, with 75% accuracy on the original dataset and 100% accuracy on the augmented dataset. The findings suggest that machine learning approaches could support healthcare professionals in identifying individuals at risk of diabetes at an earlier stage, potentially enabling timely intervention and improving patient outcomes.

References
  1. World Health Organization (WHO), 2024. Diabetes: Fact Sheet. Available at: https://www.who.int/news-room/fact-sheets/detail/diabetes [Accessed 12 January 2025].
  2. International Diabetes Federation (IDF), 2024. IDF WHA 2024 Event. Available at: https://idf.org/media/uploads/2023/04/IDF-WHA-2024-event.pdf [Accessed 12 January 2025].
  3. American Diabetes Association (ADA), 2024. Classification and diagnosis of diabetes: Standards of medical care in diabetes—2024. Diabetes Care, 47(Supplement 1), pp. S12–S19. Available at: https://diabetes.org [Accessed 12 January 2025].
  4. International Diabetes Federation (IDF), 2024. IDF WHA 2024 Event. Available at: https://idf.org/media/uploads/2023/04/IDF-WHA-2024-event.pdf [Accessed 12 January 2025].
  5. Feleke, S.F., Dessie, A.M., Getachew, Z.D., Bizuneh, F.K., Kidie, A.A., Yayeh, B.M., Ayal, B.G. and Tesfa, N.A., 2025. Burden of diabetic ketoacidosis and its predictors among diabetic patients in Ethiopia: Systematic review and meta-analysis. PloS one, 20(1), p.e0309097.
  6. Assadi, A., Laussen, P.C., Goodwin, A.J., Goodfellow, S., Dixon, W., Greer, R.W., Jegatheeswaran, A., Singh, D., McCradden, M., Gallant, S.N. and Goldenberg, A., 2022. An integration engineering framework for machine learning in healthcare. Frontiers in Digital Health, 4, p.932411.
  7. Aliferis, C. and Simon, G., 2024. Artificial Intelligence (AI) and Machine Learning (ML) for healthcare and health sciences: The need for best practices enabling trust in AI and ML. In: Artificial Intelligence and Machine Learning in Health Care and Medical Sciences: Best Practices and Pitfalls. Cham: Springer International Publishing, pp.1–31.
  8. Nichols, J.A., Chan, H.W.H. & Baker, M.A.B., 2018. Machine learning: applications of artificial intelligence to imaging and diagnosis. Biophysical Reviews, 11(1), pp.111-118. Available at: https://doi.org/10.1007/s12551-018-0449-9
  9. UCI Machine Learning Repository, 2017. Pima Indians Diabetes Database. [online] Kaggle. Available at: https://www.kaggle.com/datasets/uciml/pima-indians-diabetes-database
  10. García-Ordás, M.T., Benavides, C., Benítez-Andrades, J.A., Alaiz-Moretón, H. and García-Rodríguez, I., 2021. Diabetes detection using deep learning techniques with oversampling and feature augmentation. Computer Methods and Programs in Biomedicine, 202, p.105968.
  11. Nai-aruna, N. and Moungmaia, R., 2015. Comparison of Classifiers for the Risk of Diabetes Prediction. Procedia Computer Science, 69, pp. 132–142. Available at: http://www.sciencedirect.com [Accessed 13 March 2025]. https://doi.org/10.1016/j.procs.2015.10.014
  12. Yu, W., Liu, T., Valdez, R., Gwinn, M. and Khoury, M.J., 2010. Application of support vector machine modeling for prediction of common diseases: the case of diabetes and pre-diabetes. BMC Medical Informatics and Decision Making, 10, p. 16. Available at: http://www.biomedcentral.com/1472-6947/10/16
  13. Sisodia, D. and Sisodia, D.S., 2018. Prediction of Diabetes using Classification Algorithms. Procedia Computer Science, 132, pp. 1578–1585. Available at: https://www.sciencedirect.com [Accessed 13 March 2025]. https://doi.org/10.1016/j.procs.2018.05.122
  14. Badawy, M., Ramadan, N. and Hefny, H.A., 2023. Healthcare predictive analytics using machine learning and deep learning techniques: a survey. Journal of Electrical Systems and Information Technology, 10(1), p.40.
  15. Mahabub, A., 2019. A robust voting approach for diabetes prediction using traditional machine learning techniques. SN Applied Sciences, 1(12), p.1667.
  16. Carneiro, T., Da Nóbrega, R.V.M., Nepomuceno, T., Bian, G.B., De Albuquerque, V.H.C. and Reboucas Filho, P.P., 2018. Performance analysis of google colaboratory as a tool for accelerating deep learning applications. Ieee Access, 6, pp.61677-61685.
  17. Fermo, I.R., Flores, F.C. and Andrade, C.M.G., 2021. Data Augmentation Technique in Neural Network Training. Brazilian Journal of Experimental Design, Data Analysis and Inferential Statistics, 1(1), pp.69-76.
  18. Faraz, S. and Singh, P., 2022. Diabetes Prediction using Machine Learning. Journal of Applied Science and Education, 2(02), pp.1-12.
  19. Tosi, S., 2009. Matplotlib for Python developers. Packt Publishing Ltd.
  20. Waskom, M.L., 2021. Seaborn: statistical data visualization. Journal of Open Source Software, 6(60), p.3021.
  21. Sai Madhuri, K., Prathusha, B., Manish Reddy, G., Deshmukh, G., Bhuvan Sai Kumar, K. and Markos, A., 2023, June. Performance Analysis of Machine Learning Algorithms by Using WEKA and Scikit-Learn. In International Conference on Data Science and Big Data Analysis (pp. 633-644). Singapore: Springer Nature Singapore.
  22. Abadi, M., Barham, P., Chen, J., Chen, Z., Davis, A., Dean, J., Devin, M., Ghemawat, S., Irving, G., Isard, M. and Kudlur, M., 2016. {TensorFlow}: a system for {Large-Scale} machine learning. In 12th USENIX symposium on operating systems design and implementation (OSDI 16) (pp. 265-283).
  23. Mujumdar, A. and Vaidehi, V., 2019. Diabetes prediction using machine learning algorithms. Procedia Computer Science, 165, pp.292-299.
  24. Sathyanarayanan, S. and Tantri, B.R., 2024. Confusion matrix-based performance evaluation metrics. African Journal of Biomedical Research, pp.4023-4031.
  25. Jaskowiak, P.A. and Costa, I.G., 2023. Clustering validation with the area under precision-recall curves. arXiv preprint arXiv:2304.01450.
  26. Nti, I.K., Nyarko-Boateng, O. and Aning, J., 2021. Performance of machine learning algorithms with different K values in K-fold cross-validation. International Journal of Information Technology and Computer Science, 13(6), pp.61-71.
  27. Hossain, M.R. and Timmer, D., 2021. Machine learning model optimization with hyper parameter tuning approach. Glob. J. Comput. Sci. Technol. D Neural Artif. Intell, 21(2), p.31.
  28. Noviyanti, C.N. and Alamsyah, A., 2024. Early detection of diabetes using random forest algorithm. Journal of Information System Exploration and Research, 2(1).
  29. Chowdhury, M.M., Ayon, R.S. and Hossain, M.S., 2024. An investigation of machine learning algorithms and data augmentation techniques for diabetes diagnosis using class imbalanced BRFSS dataset. Healthcare Analytics, 5, p.100297.
  30. Ekong, A., Attih, I., James, G. and Edet, U., 2024. Effective classification of diabetes mellitus using support vector machine algorithm. Researchers Journal of Science and Technology, 4(2), pp.18-34.
  31. Shwartz-Ziv, R. and Armon, A., 2022. Tabular data: Deep learning is not all you need. Information Fusion, 81, pp.84-90.
  32. Li, J., 2024. Area under the ROC Curve has the most consistent evaluation for binary classification. PLoS One, 19(12), p.e0316019.
  33. Shickel, B., Tighe, P.J., Bihorac, A. and Rashidi, P., 2017. Deep EHR: a survey of recent advances in deep learning techniques for electronic health record (EHR) analysis. IEEE journal of biomedical and health informatics, 22(5), pp.1589-1604.
  34. Sarwar, M.A., Kamal, N., Hamid, W. and Shah, M.A., 2018, September. Prediction of diabetes using machine learning algorithms in healthcare. In 2018 24th international conference on automation and computing (ICAC) (pp. 1-6). IEEE
Index Terms

Computer Science
Information Sciences

Keywords

Artificial Intelligence; Machine Learning; Diabetes Mellitus; AI in Healthcare; Random Forest; Support Vector Machine; Artificial Neural Network Decision Tree