ASSESSMENT OF AGE-WISE DIABETES RISK USING BIOCHEMICAL INDICATORS AND MACHINE LEARNING CLASSIFICATION MODELS
DOI:
https://doi.org/10.24191/mjoc.v11i2.12095Keywords:
Diabetes Mellitus, Machine Learning, XGBoost, Random Forest, Biochemical Markers, Diabetes PredictionAbstract
Diabetes mellitus is a major metabolic disease across the world, leading to serious complications and healthcare challenges. Prediction of diabetes at an early stage with the help of biochemical as well as demographic factors can lead to better diagnosis and preventive measures for the same. This research paper aims to predict diabetes using biochemical parameters in combination with various machine learning classification techniques, stratified by age group. This study uses a dataset of diabetes data that includes demographic and clinical attributes like age, gender, body mass index (BMI), urea, creatinine, HbA1c, cholesterol, TG, HDL, LDL, and VLDL. Machine Learning classifiers, including logistic regression, K-nearest neighbours (KNN), naive Bayes, SVM, random forest, and XGBoost, have been used in this study. The initial dataset consisted of 1,000 records, but 53 of them were removed because they were prediabetic. Thus, 947 records of diabetic and non-diabetic individuals were used for binary classification. The subjects were categorized into six age groups based on ages from 20-29 up to 70-80. Stratified 80:20 train-test split was utilized, and 5-fold stratified cross-validation was conducted in the training data set. Preprocessing and SMOTE were performed only in the training data set. The best performances were obtained by Random Forest and XGBoost; they reached 100% accuracy with the inclusion of HbA1c while the mean cross-validation accuracies for them were 98.5% and 99.1%. In sensitivity analysis where HbA1c was excluded, these two models kept their test accuracy of about 98.9%, showing that they performed well even without the use of HbA1c. HbA1c, BMI, and age were found to be some of the most informative variables for diabetes status. This research showed strong classification performance at the dataset level. Nevertheless, external validation is needed using different large clinical datasets.
References
Abnoosian, K., Farnoosh, R., & Behzadi, M. H. (2023). Prediction of diabetes disease using an ensemble of machine learning multi-classifier models. BMC Bioinformatics, 24(1). https://doi.org/10.1186/s12859-023-05465-z
Ahmed, A., Khan, J., Arsalan, M., Ahmed, K., Shahat, A. A., Alhalmi, A., & Naaz, S. (2025). Machine Learning Algorithm-Based Prediction of Diabetes Among Female Population Using PIMA Dataset. Healthcare (Switzerland), 13(1). https://doi.org/10.3390/healthcare13010037
Ayoade, O. B., Shahrestani, S., & Ruan, C. (2025). Machine Learning and Deep Learning Approaches for Predicting Diabetes Progression: A Comparative Analysis. Electronics (Switzerland), 14(13). https://doi.org/10.3390/electronics14132583
Feng, X., Cai, Y., & Xin, R. (2023). Optimizing diabetes classification with a machine learning-based framework. BMC Bioinformatics, 24(1). https://doi.org/10.1186/s12859-023-05467-x
Lee, H., Park, M.-B., & Won, Y.-J. (2025). AI Machine Learning–Based Diabetes Prediction in Older Adults in South Korea: Cross-Sectional Analysis. JMIR Formative Research, 9, e57874–e57874. https://doi.org/10.2196/57874
Magliano, D. J., Boyko, E. J., & committee, I. D. A. 10th edition scientific. (2021). IDF DIABETES ATLAS. IDF DIABETES ATLAS [Internet]. Brussels, 1–141. https://www.ncbi.nlm.nih.gov/books/NBK581934/
Masood, S., Al-Bashrawi, M. A., Khan, M. A., & Dwivedi, Y. K. (2026). From data to diagnosis: a systematic review on AI-driven approaches to diabetes prediction. Artificial Intelligence Review, 59(3). https://doi.org/10.1007/s10462-025-11485-3
Multiclass Diabetes Dataset. (n.d.). Retrieved September 27, 2026, from https://www.kaggle.com/datasets/yasserhessein/multiclass-diabetes-dataset
Parimala, G., Kayalvizhi, R., & Nithiya, S. (2023). Diabetes Prediction using Machine Learning. 2023 International Conference on Computer Communication and Informatics, ICCCI 2023. https://doi.org/10.1109/ICCCI56745.2023.10128216
Patidar, P. K., Shiwani, S., & Garg, S. (2025). Prediction of Diabetes using Machine Learning Classifiers with Polar Bear Optimization. Procedia Computer Science, 258, 1338–1347. https://doi.org/10.1016/j.procs.2025.04.367
Rahman, F., Hossain, S., Tiang, J. J., & Nahid, A. Al. (2025). Diabetes Prediction Using Feature Selection Algorithms and Boosting-Based Machine Learning Classifiers. Diagnostics, 15(20). https://doi.org/10.3390/diagnostics15202622
Sampath, P., Elangovan, G., Ravichandran, K., Shanmuganathan, V., Pasupathi, S., Chakrabarti, T., Chakrabarti, P., & Margala, M. (2024). Robust diabetic prediction using ensemble machine learning models with synthetic minority over-sampling technique. Scientific Reports, 14(1). https://doi.org/10.1038/s41598-024-78519-8
Shetty, R., Paul, A., Kumar, A. P., & Rai, S. (2026). Early prediction of diabetes using a reduced and interpretable feature set with a scalable machine learning framework. Discover Artificial Intelligence, 6(1). https://doi.org/10.1007/s44163-026-01152-z
Tasin, I., Nabil, T. U., Islam, S., & Khan, R. (2023). Diabetes prediction using machine learning and explainable AI techniques. Healthcare Technology Letters, 10(1–2), 1–10. https://doi.org/10.1049/htl2.12039
Wee, B. F., Sivakumar, S., Lim, K. H., Wong, W. K., & Juwono, F. H. (2024). Diabetes detection based on machine learning and deep learning approaches. Multimedia Tools and Applications, 83(8), 24153–24185. https://doi.org/10.1007/s11042-023-16407-5
Xiao, Z., Wang, M., Zhao, Y., & Wang, H. (2025). A Biomarker-Driven and Interpretable Machine Learning Model for Diagnosing Diabetes Mellitus. Food Science and Nutrition, 13(5). https://doi.org/10.1002/fsn3.70234
Yesupatham, A., Das, R., Bharani, G., Shaikmeeran, M., & Saraswathy, R. (2025). Artificial intelligence model as a tool to predict prediabetes. Scientific Reports, 15(1). https://doi.org/10.1038/s41598-025-23227-0
Downloads
Published
Data Availability Statement
The dataset analysed during the current study is publicly available in the Kaggle Multiclass Diabetes Dataset repository at: [https://www.kaggle.com/datasets/yasserhessein/multiclass-diabetes-dataset]. The analysis code used in this study is available from the corresponding author upon reasonable request.
Issue
Section
License
Copyright (c) 2026 Farwa Afzal, Mohibullah Aziz, Shariffah Suhaila Syed Jamaludin

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




