Enhanced Diabetes Prediction

Class Aware Neural Networks on the Pima Indians Dataset

Authors

  • Omar Mohammed Amin Department of Information Technology, Chamchamal Technical Institute, Sulaimani Polytechnic University, Sulaymaniyah, Iraq https://orcid.org/0009-0003-7143-3647
  • Rebin Abdulkareem Hamaamin Department of Computer Science, College of Sciences, Charmo University, Chamchamal, Sulaymaniyah, Iraq https://orcid.org/0000-0001-8354-5513
  • Araz Ibrahim Mustafa Department of Computer Science, College of Sciences, Charmo University, Chamchamal, Sulaymaniyah, Iraq https://orcid.org/0009-0006-1742-8048
  • Aso M. Aladdin Information Technology Department, Tishk International University, Kurdistan Region, Iraq https://orcid.org/0000-0002-8734-0811

DOI:

https://doi.org/10.65542/djei.v2i4.99

Keywords:

Diabetes Prediction;, Tabular Retrieval Network, PID, Neural Network, Classifier

Abstract

Diabetes is a large chronic disease where there is the potential to make early and reliable predictions to aid in timely clinical decisions and screening. Recently, machine learning techniques have been used for diabetes anomaly detection, but the performance may be influenced by the presence of missing values, class imbalance, and a restricted feature representation in widely-used benchmark datasets. In this study, the Tabular Retrieval Network (TabR) model-based framework for diabetes prediction is proposed in Pima Indians Diabetes (PID) dataset with 768 patient records and 8 clinical predictor variables and one binary target variable. The proposed framework handles missing values in biologically unrealistic way by using class-aware median imputation, introduces domain-specific feature engineering, retrieves contextually similar patient records, and implements a neural network with Bayesian regularization as a classifier. Stratified 10-fold cross validation was used to evaluate the model using accuracy, precision, recall, F1-score, Matthew’s correlation coefficient (MCC) and area under the curve (AUC) as performance measures. The proposed TabR model achieved an accuracy of 82.04%, precision of 75.93%, recall of 72.04%, F1-score of 73.74%, MCC of 0.6035, and AUC of 0.8541. These results show promising predictive and discriminative results on the PID data set. Comparisons with previously reported studies showed that the proposed approach reached the highest accuracy reported compared to some of the existing solutions, however, the comparisons should be treated with caution as each study may have different preprocessing procedures and/or evaluation procedures. The results indicate that class-aware pre-processing and contextual retrieval could be beneficial features for diabetes prediction from tabular clinical data.

References

1. W.H.O. Global Estimates of Undiagnosed Diabetes 2025.

2. World Health Organization Global Report on Diabetes; 2021;

3. Association, A.D. Diagnosis and Classification of Diabetes Mellitus. Diabetes Care 2013, 37, S81–S90, doi:10.2337/dc14-S081.

4. World Health Organization Global Report on Diabetes; 2021;

5. Esteva, A.; Kuprel, B.; Novoa, R.A.; Ko, J.; Swetter, S.M.; Blau, H.M.; Thrun, S. Dermatologist-Level Classification of Skin Cancer with Deep Neural Networks. Nature 2017, 542, 115–118, doi:10.1038/nature21056.

6. Obermeyer, Z.; Powers, B.; Vogeli, C.; Mullainathan, S. Dissecting Racial Bias in an Algorithm Used to Manage the Health of Populations. Science (1979). 2019, 366, doi:10.1126/science.aax2342.

7. Beam, A.L.; Kohane, I.S. Big Data and Machine Learning in Health Care. JAMA - Journal of the American Medical Association 2018, 319.

8. Jiang, F.; Jiang, Y.; Zhi, H.; Dong, Y.; Li, H.; Ma, S.; Wang, Y.; Dong, Q.; Shen, H.; Wang, Y. Artificial Intelligence in Healthcare: Past, Present and Future. Stroke Vasc. Neurol. 2017, 2.

9. Pima Indians Diabetes Database.

10. Butt, U.M.; Letchmunan, S.; Ali, M.; Hassan, F.H.; Baqir, A.; Sherazi, H.H.R. Machine Learning Based Diabetes Classification and Prediction for Healthcare Applications. J. Healthc. Eng. 2021, 2021, doi:10.1155/2021/9930985.

11. Chen, Y. Prevalence of Diabetes and Related Factors of Diabetes Among Adult Pima Indian Women. In Proceedings of the Proceedings of the 2025 4th International Conference on Mathematical Statistics and Economic Analysis (MSEA 2025); Atlantis Press, 2026; pp. 310–318.

12. Deng, D.; Kasabov, N. On-Line Pattern Analysis by Evolving Self-Organizing Maps. Neurocomputing 2003, 51, doi:10.1016/S0925-2312(02)00599-4.

13. AlJarullah, A.A. Decision Tree Discovery for the Diagnosis of Type II Diabetes. In Proceedings of the 2011 International Conference on Innovations in Information Technology, IIT 2011; 2011.

14. Luukka, P. Feature Selection Using Fuzzy Entropy Measures with Similarity Classifier. Expert Syst. Appl. 2011, 38, doi:10.1016/j.eswa.2010.09.133.

15. Seera, M.; Lim, C.P. A Hybrid Intelligent System for Medical Data Classification. Expert Syst. Appl. 2014, 41, doi:10.1016/j.eswa.2013.09.022.

16. Choubey, D.K.; Paul, S. GA_MLP NN: A Hybrid Intelligent System for Diabetes Disease Diagnosis. International Journal of Intelligent Systems and Applications 2016, 8, doi:10.5815/ijisa.2016.01.06.

17. Choubey, D.K.; Paul, S.; Kumar, S.; Kumar, S. Classification of Pima Indian Diabetes Dataset Using Naive Bayes with Genetic Algorithm as an Attribute Selection. In Proceedings of the Communication and Computing Systems - Proceedings of the International Conference on Communication and Computing Systems, ICCCS 2016; 2017.

18. Smith, J.W.; Everhart, J.E.; Dickson, W.C.; Knowler, W.C.; Johannes, R.S. Using the ADAP Learning Algorithm to Forecast the Onset of Diabetes Mellitus. In Proceedings of the Proceedings - Annual Symposium on Computer Applications in Medical Care; 1988.

19. Anuja Kumari, V.; Chitra, R. Classification Of Diabetes Disease Using Support Vector Machine. International Journal of Engineering Research and Applications (IJERA) www.ijera.com 3, 1797–1801.

20. Somu, N.; Raman, M.R.G.; Kirthivasan, K.; Sriram, V.S.S. Hypergraph Based Feature Selection Technique for Medical Diagnosis. J. Med. Syst. 2016, 40, doi:10.1007/s10916-016-0600-8.

21. Viswanatha, V. Diabetes Prediction Using Machine Learning Approach”.

22. Ganie, S. An Ensemble Learning Approach for Diabetes Prediction Using Boosting Techniques”.

23. Reza, M. Improving Diabetes Disease Patients Classification Using Stacking Ensemble Method with PIMA and Local Healthcare Data”.

24. Ramakrishna, K.V.S.S.; Baranitharan, K.; Navya, A.; Pallavi, M.; Kalyani, M.J.; Keerthi, Y. Diabetes Prediction Using Random Forest Algorithm; 2024; Vol. 11;.

25. Khan, Q. An Intelligent Diabetes Classification and Perception Framework Based on Ensemble and Deep Learning Method PIMA Dataset”.

26. Merdin Shamal Salih Diabetic Prediction Based on Machine Learning Using PIMA Indian Dataset. Communications on Applied Nonlinear Analysis 2024, 31, doi:10.52783/cana.v31.1008.

27. Dihin, R.A.; AlShemmary, E.; Al-Jawher, W. Diabetic Retinopathy Classification Using Swin Transformer with Multi Wavelet. Journal of Kufa for Mathematics and Computer 2023, 10, doi:10.31642/jokmc/2018/100225.

28. Song, Y.; Kong, X.; Zhang, C. A Large-Scale k -Nearest Neighbor Classification Algorithm Based on Neighbor Relationship Preservation. Wirel. Commun. Mob. Comput. 2022, 2022, doi:10.1155/2022/7409171.

29. Lekkas, S.; Mikhailov, L. Evolving Fuzzy Medical Diagnosis of Pima Indians Diabetes and of Dermatological Diseases. Artif. Intell. Med. 2010, 50, doi:10.1016/j.artmed.2010.05.007.

30. Vu, H.; Huynh, T.; Hui, L.; Nguyen, N.H.; Qiao, R. Performance Analysis of Diabetes Detection Using Machine Learning Classifiers. International Journal of Management and Data Analytics (IJMADA) Int. J. Management and Data Analytics 4, 43–54, doi:10.5281/zenodo.13926972.

31. Priyatma, J.E.; Raditya, M.; Sasmita, A. Comparative Analysis of Random Forest and Support Vector Machine for Classifying Pima Indians Diabetes Dataset; 2025;

32. Zamil, M.F.; Hameed, D.H.; Mahmoud, U.S. A Comprehensive Data Enhancement Method for the Pima Dataset to Improve Diabetes Prediction Performance. Journal Port Science Research 2025, 8, doi:10.36371/port.2025.4.1.

33. Ahmed, A.; Khan, J.; Arsalan, M.; Ahmed, K.; Shahat, A.A.; Alhalmi, A.; Naaz, S. Machine Learning Algorithm-Based Prediction of Diabetes Among Female Population Using PIMA Dataset. Healthcare (Switzerland) 2025, 13, doi:10.3390/healthcare13010037.

Downloads

Published

2026-10-18

How to Cite

Mohammed Amin, O., Abdulkareem Hamaamin, R., Ibrahim Mustafa, A., & M. Aladdin, A. (2026). Enhanced Diabetes Prediction: Class Aware Neural Networks on the Pima Indians Dataset. Dasinya Journal for Engineering and Informatics, 2(4). https://doi.org/10.65542/djei.v2i4.99

Similar Articles

1 2 3 > >> 

You may also start an advanced similarity search for this article.