Performance Analysis of Naive Bayes Method for Diabetes Diagnosis

Authors

DOI:

https://doi.org/10.25047/ijhitech.v3i2.6670

Keywords:

Naive Bayes, Classification, Diabetes, Performance Analysis

Abstract

Diabetes mellitus is a chronic metabolic disorder characterized by high blood glucose levels, requiring early and accurate detection to prevent long-term complications. Machine learning is increasingly important in data-driven diagnostics, with the Naive Bayes algorithm widely used due to its simplicity, transparency, and efficiency. This study evaluates the classification performance of Naive Bayes for early diabetes screening using a clinical dataset containing incomplete and heterogeneous medical records. The pre-processing involved data cleaning, replacing missing values with the median, labeling patients based on a glyhb threshold ≥6.5%, preventing data leakage, and converting categorical variables into numerical form. Model training was performed with a 70:30 split, and performance was evaluated through accuracy, precision, recall, F1 score, and AUC. The classifier achieved an accuracy of 90.81% and an AUC of 0.919, outperforming standard baseline Naive Bayes implementations which typically report accuracies in the range of 76-78% on similar datasets. Despite this stability, the model showed varying sensitivity in identifying positive diabetes cases, largely due to class imbalance. Therefore, Naive Bayes is considered reliable as a preliminary screening method, but improvements through oversampling or cost-sensitive learning techniques are recommended to enhance recall and ensure more accurate patient identification in future clinical applications.

References

[1] A. Syaripudin, Karningsih, A. Supardi, N. A. Dahbul, and R. H. S. Rondonuwu, “Diabetes Melitus and Lifestyle Patterns in Society: A Comprehensive Literature Review,” Int. J. Sci. Soc., vol. 5, no. 3, pp. 310–322, Aug. 2023, doi: 10.54783/ijsoc.v5i3.750.

[2] F. M. Okikiola, O. S. Adewale, and O. O. Obe, “A DIABETES PREDICTION CLASSIFIER MODEL USING NAIVE BAYES ALGORITHM,” FUDMA J. Sci., vol. 7, no. 1, pp. 253–260, Feb. 2023, doi: 10.33003/fjs-2023-0701-1301.

[3] S. Pathan, L. Piemonte, B. Malanda, and R. Savuleac, “IDF Executive Office - Belgium”.

[4] N. Arora, A. Singh, M. Z. N. Al-Dabagh, and S. K. Maitra, “A Novel Architecture for Diabetes Patients’ Prediction Using K-Means Clustering and SVM,” Math. Probl. Eng., vol. 2022, pp. 1–9, Aug. 2022, doi: 10.1155/2022/4815521.

[5] D. S. Khafaga, A. H. Alharbi, I. Mohamed, and K. M. Hosny, “An Integrated Classification and Association Rule Technique for Early-Stage Diabetes Risk Prediction,” Healthcare, vol. 10, no. 10, p. 2070, Oct. 2022, doi: 10.3390/healthcare10102070.

[6] Y. Resti, E. S. Kresnawati, N. R. Dewi, D. A. Zayanti, and N. Eliyati, “Diagnosis of Diabetes Mellitus in Women of Reproductive Age using the Prediction Methods of Naive Bayes, Discriminant Analysis, and Logistic Regression,” Sci. Technol. Indones., vol. 6, no. 2, pp. 96–104, Apr. 2021, doi: 10.26554/sti.2021.6.2.96-104.

[7] J. Xue, F. Min, and F. Ma, “Research on Diabetes Prediction Method Based on Machine Learning,” J. Phys. Conf. Ser., vol. 1684, p. 012062, Nov. 2020, doi: 10.1088/1742-6596/1684/1/012062.

[8] R. Saxena, S. K. Sharma, M. Gupta, and G. C. Sampada, “[Retracted] A Comprehensive Review of Various Diabetic Prediction Models: A Literature Survey,” J. Healthc. Eng., vol. 2022, no. 1, p. 8100697, 2022, doi: 10.1155/2022/8100697.

[9] A. F. Lubis et al., “Classification of Diabetes Mellitus Sufferers Eating Patterns Using K-Nearest Neighbors, Naïve Bayes and Decission Tree,” Public Res. J. Eng. Data Technol. Comput. Sci., vol. 2, no. 1, pp. 44–51, Apr. 2024, doi: 10.57152/predatecs.v2i1.1103.

[10] A. García-Domínguez et al., “Diabetes Detection Models in Mexican Patients by Combining Machine Learning Algorithms and Feature Selection Techniques for Clinical and Paraclinical Attributes: A Comparative Evaluation,” J. Diabetes Res., vol. 2023, pp. 1–19, June 2023, doi: 10.1155/2023/9713905.

[11] O. Adigun, F. Okikiola, N. Yekini, and R. Babatunde, “Classification of Diabetes Types using Machine Learning,” Int. J. Adv. Comput. Sci. Appl., vol. 13, no. 9, 2022, doi: 10.14569/IJACSA.2022.0130918.

[12] S. Firdous, G. A. Wagai, and K. Sharma, “A survey on diabetes risk prediction using machine learning approaches,” J. Fam. Med. Prim. Care, vol. 11, no. 11, pp. 6929–6934, Nov. 2022, doi: 10.4103/jfmpc.jfmpc_502_22.

[13] L. Flores, R. M. Hernandez, L. H. Macatangay, S. M. G. Garcia, and J. R. Melo, “Comparative analysis in the prediction of early-stage diabetes using multiple machine learning techniques,” Indones. J. Electr. Eng. Comput. Sci., vol. 32, no. 2, p. 887, Nov. 2023, doi: 10.11591/ijeecs.v32.i2.pp887-899.

[14] N. Sneha and T. Gangil, “Analysis of diabetes mellitus for early prediction using optimal features selection,” J. Big Data, vol. 6, no. 1, p. 13, Dec. 2019, doi: 10.1186/s40537-019-0175-6.

[15] Y. Fu et al., “Stacking model framework reveals clinical biochemical data and dietary behavior features associated with type 2 diabetes: A retrospective cohort study,” APL Bioeng., vol. 8, 2024, [Online]. Available: https://api.semanticscholar.org/CorpusID:274183540

[16] E. Adua et al., “Predictive model and feature importance for early detection of type II diabetes mellitus,” Transl. Med. Commun., vol. 6, no. 1, p. 17, Aug. 2021, doi: 10.1186/s41231-021-00096-z.

[17] H. B. Kibria, M. Nahiduzzaman, M. O. F. Goni, M. Ahsan, and J. Haider, “An Ensemble Approach for the Prediction of Diabetes Mellitus Using a Soft Voting Classifier with an Explainable AI,” Sensors, vol. 22, 2022, [Online]. Available: https://api.semanticscholar.org/CorpusID:252551922

[18] M. T. Moghaddam et al., “Predicting diabetes in adults: identifying important features in unbalanced data over a 5-year cohort study using machine learning algorithm,” BMC Med. Res. Methodol., vol. 24, 2024, [Online]. Available: https://api.semanticscholar.org/CorpusID:272928003

[19] M. S. Tahsin, M. A. Karim, M. U. Ahmed, F. Tafannum, and N. Firoz, “An Integrated Approach for Diabetes Detection Using Fisher Score Feature Selection and Capsule Network,” J. Comput. Sci. Eng. JCSE, 2023, [Online]. Available: https://api.semanticscholar.org/CorpusID:267327420

Downloads

Published

2025-12-08

Issue

Section

Articles

How to Cite

Performance Analysis of Naive Bayes Method for Diabetes Diagnosis. (2025). International Journal of Healthcare and Information Technology, 3(2), 78-87. https://doi.org/10.25047/ijhitech.v3i2.6670

Similar Articles

11-20 of 24

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

Most read articles by the same author(s)