IJEM Vol. 16, No. 6, 8 Dec. 2026
Cover page and Table of Contents: PDF (size: 1696KB)
PDF (1696KB), PP.1-23
Views: 0 Downloads: 0
Diabetes Prediction, Exploratory Data Analysis, Feature Correlation, Machine Learning Techniques, Data Balancing Techniques, Extra Tree Classifier, Local Interpretable Model-agnostic Explanations
Diabetes causes various health complications and hence, timely prediction and control of diabetes are of great importance. The recently proven power of data analytics and machine learning is boosting their applications in the prediction of diabetes. In a practical scenario of data collection, the ratio of healthy and diabetes cases is usually not balanced. Therefore, selecting the optimal data balancing technique and machine learner combination for diabetes prediction still presents a challenge. The purpose of this work is to investigate the performance of different machine learning classifiers from physio-pathological data under imbalanced and balanced data scenarios in an organized way to suggest an optimal and explainable framework for diabetes prediction. Eight well performing machine learning models majorly tree based Gradient Boosting, Random Forest, Decision Tree, XGBoost, Adaboost, Bagging, Extra Tree, and GaussianNB have been trained separately using unbalanced and balanced data created by five different data balancing techniques namely resample, SMOTE, ADASYN, SMOTETomek, and random under sampler. The initial accuracies were found between 70% and 77% using imbalanced data from the Pima Indians Diabetes Database (PIDD) and post-balancing accuracies achieved between 86% and 92%. The best-performing model, the Extra Tree classifier with the Resample technique, achieved 92% accuracy and a 92% F1-score. Local Interpretable Model-agnostic Explanations analysis showed that the glucose level, insulin, and age are the most important features which are justifiable from a medical perspective. The proposed framework demonstrated competitive performance compared with recently reported diabetes prediction methods in the literature. The finding of this study and the suggested framework might be helpful for further research and clinical applications of automatic diabetes prediction from physio-pathological data.
Md. Rabiul Hasan, Faijah Rashid, A. B. M. Aowlad Hossain, Maksuda Rahman, Shah Muhammad Azmat Ullah, "Impact of Data Balancing Strategies on Different Tree-Based Ensemble Classifiers for Diabetes Prediction: A Comparative Study on the PIDD Dataset", International Journal of Engineering and Manufacturing (IJEM), Vol.16, No.6, pp.1-23, 2026. DOI:10.5815/ijem.2026.06.01
[1]N. H. Cho et al., “IDF Diabetes Atlas: Global estimates of diabetes prevalence for 2017 and projections for 2045,” Diabetes Research and Clinical Practice, vol. 138, pp. 271–281, Feb. 2018, doi: 10.1016/j.diabres.2018.02.023.
[2]A. D. Deshpande, M. Harris-Hayes, and M. Schootman, “Epidemiology of diabetes and diabetes-related complications,” Physical Therapy, vol. 88, no. 11, pp. 1254–1264, Sep. 2008, doi: 10.2522/ptj.20080020.
[3]J. L. Harding, M. E. Pavkov, D. J. Magliano, J. E. Shaw, and E. W. Gregg, “Global trends in diabetes complications: a review of current evidence,” Diabetologia, vol. 62, no. 1, pp. 3–16, Aug. 2018, doi: 10.1007/s00125-018-4711-2.
[4]A. Ghosh, A. B. M. Aowlad Hossain and S. M. Taslim Uddin Raju, “Classification of diabetic retinopathy using few-shot transfer learning from imbalanced data,” 2021 7th International Conference on Advanced Computing and Communication Systems (ICACCS), Coimbatore, India, 2021, pp. 78-83, doi: 10.1109/ICACCS51430.2021.9442024.
[5]N. S. Gupta and P. Kumar, “Perspective of artificial intelligence in healthcare data management: A journey towards precision medicine,” Computers in Biology and Medicine, vol. 162, p. 107051, May 2023, doi: 10.1016/j.compbiomed.2023.107051.
[6]G. Battineni, G. G. Sagaro, C. Nalini, F. Amenta, and S. K. Tayebati, “Comparative machine-learning approach: A follow-up study on type 2 diabetes predictions by cross-validation methods,” Machines, vol. 7, no. 4, p. 74, Dec. 2019, doi: 10.3390/machines7040074.
[7]Y. Miao, “Using machine learning algorithms to predict diabetes mellitus based on PIMA Indians Diabetes dataset,” in Proc. 2021 5th International Conference on Virtual and Augmented Reality Simulations (ICVARS), pp. 47–53, Mar. 2021, doi: 10.1145/3463914.3463922.
[8]E. Kabir, Md. Shahid, and Md. Rokibul, “Developing diabetes disease classification model using sequential forward selection algorithm,” International Journal of Computer Applications, vol. 180, no. 5, pp. 1–6, Dec. 2017, doi: 10.5120/ijca2017916018.
[9]V. Chang, J. Bailey, Q. A. Xu, and Z. Sun, “Pima Indians diabetes mellitus classification based on machine learning (ML) algorithms,” Neural Computing and Applications, vol. 35, no. 22, pp. 16157–16173, Mar. 2022, doi: 10.1007/s00521-022-07049-z..
[10]R. Rastogi and M. Bansal, “Diabetes prediction model using data mining techniques,” Measurement Sensors, vol. 25, p. 100605, Dec. 2022, doi: 10.1016/j.measen.2022.100605.
[11]D. Sisodia and D. S. Sisodia, “Prediction of diabetes using classification algorithms,” Procedia Computer Science, vol. 132, pp. 1578–1585, Jan. 2018, doi: 10.1016/j.procs.2018.05.122.
[12]A. A. Abdillah, A. Azwardi, I. Wahyudi, S. Arifin, M. A. Ibrahim, and T. Mauritsus, “LDA and SVM performance evaluation for diabetes prediction,” AIP Conference Proceedings, vol. 3070, p. 030016, Jan. 2024, doi: 10.1063/5.0198841.
[13]M. Seera, C. P. Lim, S. C. Tan, and C. K. Loo, “A hybrid FAM–CART model and its application to medical data classification,” Neural Computing and Applications, vol. 26, no. 8, pp. 1799–1811, Feb. 2015, doi: 10.1007/s00521-015-1852-9.
[14]S. S. Bhat, M. Banu, G. A. Ansari, and V. Selvam, “A risk assessment and prediction framework for diabetes mellitus using machine learning algorithms,” Healthcare Analytics, vol. 4, p. 100273, Oct. 2023, doi: 10.1016/j.health.2023.100273.
[15]M. R. Hasan, A. B. M. A. Hossain, and S. M. A. Ullah, “Ensemble ResDenseNet: Alzheimer’s disease staging from brain MRI using deep weighted ensemble transfer learning”. International Journal of Computers and Applications, (2024), 46(7), 539–554. https://doi.org/10.1080/1206212X.2024.2380648
[16]S. M. A. Ullah, A. B. M. Aowlad Hossain, and M. E. Karim, “Hypertension Detection Using Explainable Stacked Ensemble Machine Learning From Clinical and Physiological Data: A Comprehensive Study,” Health Science Reports 9 (2026): e72754, https://doi.org/10.1002/hsr2.72754.
[17]A. K. Dwivedi, “Analysis of computational intelligence techniques for diabetes mellitus prediction,” Neural Computing and Applications, vol. 30, no. 12, pp. 3837–3845, Apr. 2017, doi: 10.1007/s00521-017-2969-9
[18]F. Ahmad, N. A. M. Isa, Z. Hussain, and M. K. Osman, “Intelligent medical disease diagnosis using improved hybrid genetic algorithm - Multilayer Perceptron Network,” Journal of Medical Systems, vol. 37, no. 2, Mar. 2013, doi: 10.1007/s10916-013-9934-7.
[19]I. Tasin, T. U. Nabil, S. Islam, and R. Khan, “Diabetes prediction using machine learning and explainable AI techniques,” Healthcare Technology Letters, vol. 10, no. 1–2, pp. 1–10, Dec. 2022, doi: 10.1049/htl2.12039.
[20]Q. Zou, K. Qu, Y. Luo, D. Yin, Y. Ju, and H. Tang, “Predicting diabetes mellitus with machine learning techniques,” Frontiers in Genetics, vol. 9, Nov. 2018, doi: 10.3389/fgene.2018.00515.
[21]Md. Maniruzzaman et al., “Comparative approaches for classification of diabetes mellitus data: Machine learning paradigm,” Computer Methods and Programs in Biomedicine, vol. 152, pp. 23–34, Sep. 2017, doi: 10.1016/j.cmpb.2017.09.004.
[22]V. Jackins, S. Vimal, M. Kaliappan, and M. Y. Lee, “AI-based smart prediction of clinical disease using random forest classifier and Naive Bayes,” Journal of Supercomputing, vol. 77, no. 5, pp. 5198–5219, Nov. 2020, doi: 10.1007/s11227-020-03481-x.
[23]N. Sneha and T. Gangil, “Analysis of diabetes mellitus for early prediction using optimal features selection,” Journal of Big Data, vol. 6, no. 1, Feb. 2019, doi: 10.1186/s40537-019-0175-6.
[24]S. K. Mohapatra, J. K. Swain, and M. N. Mohanty, “Detection of diabetes using multilayer perceptron,” in Advances in intelligent systems and computing, 2018, pp. 109–116. doi: 10.1007/978-981-13-2182-5_11.
[25]Md. K. Hasan, Md. A. Alam, D. Das, E. Hossain, and M. Hasan, “Diabetes prediction using ensembling of different machine learning classifiers,” IEEE Access, vol. 8, pp. 76516–76531, Jan. 2020, doi: 10.1109/access.2020.2989857.
[26]S. Kumari, D. Kumar, and M. Mittal, “An ensemble approach for classification and prediction of diabetes mellitus using soft voting classifier,” International Journal of Cognitive Computing in Engineering, vol. 2, pp. 40–46, Jan. 2021, doi: 10.1016/j.ijcce.2021.01.001.
[27]K. M. Orabi, Y. M. Kamal, and T. M. Rabah, “Early Predictive System for diabetes mellitus Disease,” in Lecture notes in computer science, 2016, pp. 420–427. doi: 10.1007/978-3-319-41561-1_31.
[28]M. E. Febrian, F. X. Ferdinan, G. P. Sendani, K. M. Suryanigrum, and R. Yunanda, “Diabetes prediction using supervised machine learning,” Procedia Computer Science, vol. 216, pp. 21–30, Jan. 2023, doi: 10.1016/j.procs.2022.12.107.
[29]G. G. Rajput and A. Alashetty, “Diabetes classification using ML algorithms,” in Lecture notes in networks and systems, 2023, pp. 867–877. doi: 10.1007/978-981-99-1624-5_65.
[30]E. Akkur and F. Türk, “Optimized machine learning based predictive diagnosis approach for diabetes mellitus,” Journal of Medicine and Palliative Care, vol. 4, no. 4, pp. 270–276, Aug. 2023, doi: 10.47582/jompac.1307319.
[31]S. C. Gupta and N. Goel, “Predictive modeling and analytics for diabetes using hyperparameter tuned machine learning techniques,” Procedia Computer Science, vol. 218, pp. 1257–1269, Jan. 2023, doi: 10.1016/j.procs.2023.01.104.
[32]P. Sonar and K. Jaya Malini, “Diabetes prediction using different machine learning approaches," 2019 3rd International Conference on Computing Methodologies and Communication (ICCMC), Erode, India, 2019, pp. 367-371, doi: 10.1109/ICCMC.2019.8819841.
[33]J. W. Smith, J. E. Everhart, W. Dickson, W. C. Knowler, and R. S. Johannes, “Using the ADAP learning algorithm to forecast the onset of diabetes mellitus,” PubMed Central, pp. 261–265, Nov. 1988, PMCID: PMC2245318. Available: https://pmc.ncbi.nlm.nih.gov/articles/PMC2245318/
[34]C. Chatfield, “Exploratory data analysis,” European Journal of Operational Research, vol. 23, no. 1, pp. 5–13, Jan. 1986, doi: 10.1016/0377-2217(86)90209-2.
[35]J. T. Hancock and T. M. Khoshgoftaar, “Survey on categorical data for neural networks,” Journal of Big Data, vol. 7, no. 1, Apr. 2020, doi: 10.1186/s40537-020-00305-w.
[36]L. M. Zhang, "Genetic deep neural networks using different activation functions for financial data mining," 2015 IEEE International Conference on Big Data (Big Data), Santa Clara, CA, USA, 2015, pp. 2849-2851, doi: 10.1109/BigData.2015.7364099.
[37]P. Mooijman, C. Catal, B. Tekinerdogan, A. Lommen, and M. Blokland, “The effects of data balancing approaches: A case study,” Applied Soft Computing, vol. 132, p. 109853, Dec. 2022, doi: 10.1016/j.asoc.2022.109853.
[38]G. E. a. P. A. Batista, R. C. Prati, and M. C. Monard, “A study of the behavior of several methods for balancing machine learning training data,” ACM SIGKDD Explorations Newsletter, vol. 6, no. 1, pp. 20–29, Jun. 2004, doi: 10.1145/1007730.1007735.
[39]K. Welvaars et al., “Implications of resampling data to address the class imbalance problem (IRCIP): an evaluation of impact on performance between classification algorithms in medical data,” JAMIA Open, vol. 6, no. 2, Apr. 2023, doi: 10.1093/jamiaopen/ooad033.
[40]N. V. Chawla, K. W. Bowyer, L. O. Hall, and W. P. Kegelmeyer, “SMOTE: Synthetic Minority Over-sampling technique,” Journal of Artificial Intelligence Research, vol. 16, pp. 321–357, Jun. 2002, doi: 10.1613/jair.953.
[41]Haibo He, Yang Bai, E. A. Garcia and Shutao Li, "ADASYN: Adaptive synthetic sampling approach for imbalanced learning," 2008 IEEE International Joint Conference on Neural Networks (IEEE World Congress on Computational Intelligence), Hong Kong, 2008, pp. 1322-1328, doi: 10.1109/IJCNN.2008.4633969.
[42]M. A. H. Saeed, “Diabetes type 2 classification using machine learning algorithms with up-sampling technique,” Journal of Electrical Systems and Information Technology, vol. 10, no. 1, Feb. 2023, doi: 10.1186/s43067-023-00074-5.
[43]T. Hasanin, T. M. Khoshgoftaar, J. L. Leevy, and R. A. Bauder, “Severely imbalanced Big Data challenges: investigating data sampling approaches,” Journal of Big Data, vol. 6, no. 1, Nov. 2019, doi: 10.1186/s40537-019-0274-4.
[44]A. J. Myles, R. N. Feudale, Y. Liu, N. A. Woody, S. D. Brown, “An introduction to decision tree modeling,” J Chemom Soc., vol. 18, no. 6, pp. 275-285, 2004.
[45]W. Chen, S. Chen, H. Zhang and T. Wu, “A hybrid prediction model for type 2 diabetes using K-means and decision tree,” 2017 8th IEEE International Conference on Software Engineering and Service Science (ICSESS), Beijing, China, 2017, pp. 386-390, doi: 10.1109/ICSESS.2017.8342938.
[46]A. Natekin and A. Knoll, “Gradient boosting machines, a tutorial,” Frontiers in Neurorobotics, vol. 7, Jan. 2013, doi: 10.3389/fnbot.2013.00021.
[47]L. Breiman, “Random forests,” Machine Learning, vol. 45, no. 1, pp. 5–32, Jan. 2001, doi: 10.1023/a:1010933404324.
[48]T. Chen, C. Guestrin, “Xgboost: A scalable tree boosting system,” In: Proceedings of the 22nd Acm Sigkdd international conference on knowledge discovery and data mining, pp. 785–794, 2016.
[49]M. Li, X. Fu, and D. Li, “Diabetes prediction based on XGBOOST algorithm,” IOP Conference Series Materials Science and Engineering, vol. 768, no. 7, p. 072093, Mar. 2020, doi: 10.1088/1757-899x/768/7/072093.
[50]D. Berrar, “Bayes’ theorem and naive Bayes classifier,” in Elsevier eBooks, 2018, pp. 403–412. doi: 10.1016/b978-0-12-809633-8.20473-1
[51]A. J. Ferreira and M. a. T. Figueiredo, “Boosting Algorithms: A review of methods, theory, and applications,” Springer eBooks, pp. 35–85, Jan. 2012, doi: 10.1007/978-1-4419-9326-7_2.
[52]T. Hothorn and B. Lausen, “Double-bagging: combining classifiers by bootstrap aggregation,” Pattern Recognition, vol. 36, no. 6, pp. 1303–1309, Feb. 2003, doi: 10.1016/s0031-3203(02)00169-3.
[53]P. Geurts, D. Ernst, and L. Wehenkel, “Extremely randomized trees,” Machine Learning, vol. 63, no. 1, pp. 3–42, Mar. 2006, doi: 10.1007/s10994-006-6226-1.
[54]M. F. Wahid and A. B. M. Aowlad Hossain, "Classification of Diabetic Retinopathy from OCT Images using Deep Convolutional Neural Network with BiLSTM and SVM," 2021 12th International Conference on Computing Communication and Networking Technologies (ICCCNT), Kharagpur, India, 2021, pp. 1-5, doi: 10.1109/ICCCNT51525.2021.9579901.
[55]G. A. Ansari, S. Shafi, M. D. Ansari, and A. Shadab, “Advanced supervised machine learning methods for precise diabetes mellitus prediction using feature selection,” Frontiers in Medicine, vol. 12, p. 1620268, Sep. 2025, doi: 10.3389/fmed.2025.1620268.