Machine Learning Model in Diagnosing Diabetes Mellitus among Women of Reproductive Age Using Kaggle Datasets
DOI:
https://doi.org/10.67378/smt7rs10Keywords:
Machine learning, Model, Diabetes, Women reproduction.Abstract
The diagnosis of diabetes mellitus using machine learning (ML) offers a modern, efficient, and non-invasive approach to identifying the disease. ML algorithms analyze complex patterns in patient data, such as blood glucose levels, demographic factors, lifestyle habits, and genetic information, to make accurate predictions. This study aimed to develop and implement a machine-learning model for predicting diabetes based on clinical and demographic data such as glucose levels, blood pressure, BMI, and Diabetic predegree Function. The data consists of 768 females at least 21 years old. The datasets consist of several medical predictor variables and one target variable, Outcome. Predictor variables include the number of pregnancies, BMI, blood glucose, skin thickness, Diabetes Predegree Function, insulin level and age. The study adopted the support vector machines (SVM) for classification. The data was divided into training sets (70%) and testing (30%), both of which were trained. The model was evaluated for performance using precision and accuracy scores. Finding reveal that there are 500 (65%) diabetics and 268 (35%) non-diabetics. The mean values are Pregnancies: 3.85 ± 3.37. Glucose: 69.11 ± 19.36 mg/dL. Blood Pressure: 20.54 ± 15.95 mmHg. Skin Thickness: 20.54 ± 15.95 mm. Insulin: 79.80 ± 115.24 μU/mL. BMI: 31.99 ± 7.88. Diabetes Pedigree Function: 0.47 ± 0.33. Age: 33.24 ± 11.76 years. The accuracy of this model in predicting diabetes for the training data was 88.66 % and 87.27% for the test data set. Overall, the performance of the machine learning model presented in this study indicates that this approach can be effective for diabetes prediction in clinical practices.
References
1. Dankwa-Mullan, I., Rivo, M., Sepulveda, M., Park, Y., Snowdon, J., & Rhee, K. (2019).
Transforming diabetes care through artificial intelligence: the future is here. Population health management, 22(3), 229-242.
2. Guan, Z., Li, H., Liu, R., Cai, C., Liu, Y., Li, J., Wang, X., Huang, S., Wu, L., Liu, D., Yu, S., Wang,
Z., Shu, J., Hou, X., Yang, X., Jia, W., & Sheng, B. (2023). Artificial intelligence in diabetes management: Advancements, opportunities, and challenges. Cell Reports Medicine, 4(10), 101213. https://doi.org/10.1016/j.xcrm.2023.101213
3. Ngugi, M. P., Njagi, J., Kibiti, C., & Ngeranwa, J. (2012). Diagnosis of diabetes mellitus.
International Journal of Experimental Diabetes Research, 1(2), 24-27. https://doi.org/10.5923/j.diabetes.20120102.01
4. Tiwari, K., & Kumar, D. (2018). Recent methods for diagnosis of diabetes mellitus. International
Journal of Innovative Science and Technology, 3(4), 58-63. IJIST Publishing Group. Available at http://www.ijistweb.com
5. Binhowemel, S. F., Alfakhri, M. O., AlReshaid, K. M., & Alyani, A. M. (2023). The role of artificial
intelligence in diabetes research, diagnosis, and prognosis: A narrative review. Journal of Health Informatics in Developing Countries, 17(2). http://www.jhidc.org/
6. Shaukat, Z., Zafar, W., Ahmad, W., Haq, I. U., Husnain, G., Al-Adhaileh, M. H., Ghadi, Y. Y., &
Algarni, A. (2023). Revolutionizing diabetes diagnosis: Machine learning techniques unleashed. Healthcare, 11(21), 2864. https://doi.org/10.3390/healthcare11212864
7. Farajollahi, B., Mehmannavaz, M., Mehrjoo, H., Moghbeli, F., & Sayadi, M. J. (2021). Diabetes
diagnosis using machine learning. Frontiers in Health Informatics, 10, 65. https://www.ijmi.ir
8. Mohsen, F., Al-Absi, H. R. H., Yousri, N. A., El Hajj, N., & Shah, Z. (2023). A scoping review of
artificial intelligence-based methods for diabetes risk prediction. npj Digital Medicine, 6(1), 197. https://doi.org/10.1038/s41746-023-00933-5
9. Keshtkar, A., Ayareh, N., Atighi, F., & Hamidi, R. (2024). Artificial intelligence in diabetes
management: Revolutionizing the diagnosis of diabetes mellitus; A literature review. Shiraz E-Medical Journal, 25(7). https://doi.org/10.5812/semj-146903
10. Singh, Y., & Tiwari, M. (2024). Revolutionizing diabetes disease prediction through novel machine
learning techniques. Nano, 19(4), 2350056. https://doi.org/10.1142/S179329202350056X
11. Khalifa, M., & Albadawy, M. (2024). Artificial intelligence for diabetes: Enhancing prevention,
diagnosis, and effective management. Computer Methods and Programs in Biomedicine Update, 5, 100141. https://doi.org/10.1016/j.cmpbup.2024.100141
12. Guan, H., Wang, Y., Niu, P., Zhang, Y., Zhang, Y., Miao, R., Fang, X., Yin, R., Zhao, S., Liu, J.
and Tian, J. (2024) The role of machine learning in advancing diabetic foot: a review. Front. Endocrinol. 15:1325434. doi: 10.3389/fendo.2024.1325434
13. Ngugi, M. P., Njagi, J., Kibiti, C., & Ngeranwa, J. (2012). Diagnosis of diabetes mellitus.
International Journal of Experimental Diabetes Research, 1(2), 24-27. https://doi.org/10.5923/j.diabetes.20120102.01
14. Buchanan, C., Howitt, M. L., Wilson, R., Booth, R. G., Risling, T., & Bamford, M. (2020). Predicted
influences of artificial intelligence on the domains of nursing: Scoping review. JMIR Nursing, 3(1), e23939. https://doi.org/10.2196/23939
15. Gautier, T., Ziegler, L. B., Gerber, M. S., Campos-Náñez, E., & Patek, S. D. (2021). Artificial
intelligence and diabetes technology: A review. Metabolism, 124, 154872. https://doi.org/10.1016/j.metabol.2021.154872
16. Kaul, S., & Kumar, Y. (2020). Artificial intelligence-based learning techniques for diabetes
prediction: challenges and systematic review. SN Computer Science, 1(6), 322.
17. Mackenzie, S. C., Sainsbury, C. A. R., & Wake, D. J. (2024). Diabetes and artificial intelligence
beyond the closed loop: A review of the landscape, promise, and challenges. Diabetologia, 67(2), 223–235. https://doi.org/10.1007/s00125-023-06038-8
Downloads
Published
License
Copyright (c) 2025 K. V. Odunugu, C.I. Osuji, F. Andibanbang (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.