GAUSSIAN NAIVE BAYES FOR EARLY DIABETES PREDICTION: A COMPREHENSIVE EVALUATION OF CLASSIFICATION PERFORMANCE ACROSS VARYING TRAINING TEST PROPORTIONS

Fahrur Rozi, Bian Dwi Pamungkas, Vertika Panggayuh, Feraldy Satria Putra

Abstract


Diabetes mellitus is a chronic metabolic disorder whose global prevalence continues to rise at an alarming rate, imposing substantial burdens on public health systems worldwide. Early and accurate prediction of diabetes risk is critical to enable timely clinical intervention and to mitigate life-threatening complications such as cardiovascular disease, nephropathy, and retinopathy. Machine learning algorithms have emerged as promising tools for automated diabetes risk classification; however, the comparative stability of probabilistic classifiers across varying data-partitioning strategies remains insufficiently studied. This study presents a systematic evaluation of the Gaussian Naive Bayes (GNB) algorithm for binary diabetes prediction using a publicly available dataset sourced from Kaggle (n = 768 instances; 9 clinical and demographic features). The experimental protocol includes a standard 75:25 training–test split and a sensitivity analysis spanning ten training–test ratio configurations (10%–100%). Under the canonical split, the GNB model attained an overall accuracy of 78.89%, with precision of 64.29%, recall of 67.74%, and F1-score of 66.00%. Cross-partition sensitivity analysis demonstrated that classification accuracy remained relatively stable in the range of 71–76% across all ratio configurations, with the 50% training proportion yielding the most balanced performance (accuracy = 76.30%, F1-score = 67.20%). These findings confirm that GNB constitutes a computationally efficient and interpretable baseline for diabetes screening, while simultaneously revealing limitations in sensitivity that motivate the integration of feature selection and ensemble learning strategies in future research. The novelty of this work lies in its structured cross-partition stability analysis, which provides empirically grounded guidance for dataset splitting decisions in small-scale clinical prediction tasks.

Full Text:

PDF

References


American Diabetes Association, "Standards of Medical Care in Diabetes 2023," Diabetes Care, vol. 46, no. Supplement 1, pp. S1–S291, Jan. 2023, doi: 10.2337/dc23-S001.

G. L. King, "The role of inflammatory cytokines in diabetes and its complications," J. Periodontol., vol. 79, no. 8S, pp. 1527–1534, 2008, doi: 10.1902/jop.2008.080246.

International Diabetes Federation, IDF Diabetes Atlas, 10th ed. Brussels, Belgium: IDF, 2021. [Online]. Available: https://www.diabetesatlas.org

World Health Organization, Global Report on Diabetes. Geneva, Switzerland: WHO, 2016.

Kementerian Kesehatan Republik Indonesia, Laporan Nasional Riskesdas 2018. Jakarta, Indonesia: Badan Penelitian dan Pengembangan Kesehatan, 2019.

T. Alam, M. Shera, and A. Khan, "A machine learning approach for early prediction of diabetes mellitus," IEEE Access, vol. 9, pp. 135220–135232, 2021, doi: 10.1109/ACCESS.2021.3116648.

H. Zhang, "The optimality of Naive Bayes," in Proc. 17th Int. FLAIRS Conf., Miami Beach, FL, USA, 2004, pp. 562–567.

K. Kourou, T. P. Exarchos, K. P. Exarchos, M. V. Karamouzis, and D. I. Fotiadis, "Machine learning applications in cancer prognosis and prediction," Comput. Struct. Biotechnol. J., vol. 13, pp. 8–17, 2015, doi: 10.1016/j.csbj.2014.11.005.

L. Breiman, "Random forests," Mach. Learn., vol. 45, no. 1, pp. 5–32, 2001, doi: 10.1023/A:1010933404324.

J. Friedman, "Greedy function approximation: A gradient boosting machine," Ann. Statist., vol. 29, no. 5, pp. 1189–1232, 2001, doi: 10.1214/aos/1013203451.

N. Maulidah, R. Supriyadi, D. Y. Utami, F. N. Hasan, A. Fauzi, and A. Christian, "Prediksi Penyakit Diabetes Melitus Menggunakan Metode Support Vector Machine dan Naive Bayes," J. Ilm. Teknol. Inf. Terapan, vol. 5, no. 1, pp. 1–8, 2021.

F. N. Ikhromr, I. Sugiyarto, U. Faddillah, and B. Sudarsono, "Implementasi Data Mining Untuk Memprediksi Penyakit Diabetes Menggunakan Algo-ritma Naives Bayes dan K-Nearest Neighbor," J. Teknol. Inf. Ilmu Komput., vol. 10, no. 2, pp. 129–138, 2023.

A. Supandi, A. Faqih, and M. Basysyar, "Prediksi Penyakit Diabetes Menggunakan Machine Learning Dengan Algoritma Naïve Bayes," J. RESTI, vol. 6, no. 2, 2022.

C. A. Rahayu, "Prediksi Penderita Diabetes Menggunakan Metode Naive Bayes," J. Teknol. Inf. Ilmu Komput., vol. 2, no. 2, pp. 91–98, 2019.

I. Y. Wardana, "Prediksi Penyakit Diabetes Dengan Naïve Bayes," J. Teknol. Inf. Ilmu Komput., vol. 10, no. 1, pp. 121–128, 2023.

H. Fathurahman, A. Ariwikri, G. A. Pratama, M. A. F. S. Fikri, and M. F. Alrizki, "Perbandingan Akurasi Metode Naive Bayes Classifier Dan Random Forest Menggunakan Reduksi Dimensi Linear Discriminant Analysis (LDA) Untuk Diagnosis Penyakit Diabetes," J. Teknol. Inf. Ilmu Komput., vol. 10, no. 2, pp. 1101–1110, 2023.

J. W. Smith, J. E. Everhart, W. C. Dickson, W. C. Knowler, and R. S. Johannes, "Using the ADAP learning algorithm to forecast the onset of diabetes mellitus," in Proc. 12th Symp. Comput. Appl. Med. Care, Washington DC, USA, 1988, pp. 261–265.

F. Pedregosa et al., "Scikit-learn: Machine learning in Python," J. Mach. Learn. Res., vol. 12, pp. 2825–2830, 2011.

T. Mitchell, Machine Learning. New York, NY, USA: McGraw-Hill, 1997.

E. Alpaydin, Introduction to Machine Learning, 4th ed. Cambridge, MA, USA: MIT Press, 2020.

D. M. W. Powers, "Evaluation: From precision, recall and F-measure to ROC, informedness, markedness and correlation," J. Mach. Learn. Technol., vol. 2, no. 1, pp. 37–63, 2011.

D. Chicco and G. Jurman, "The advantages of the Matthews correlation coefficient (MCC) over F1 score and accuracy in binary classification evalua-tion," BMC Genomics, vol. 21, no. 1, p. 6, 2020, doi: 10.1186/s12864-019-6413-7.

T. Chen and C. Guestrin, "XGBoost: A scalable tree boosting system," in Proc. 22nd ACM SIGKDD Int. Conf. Knowl. Discov. Data Mining, San Fran-cisco, CA, USA, 2016, pp. 785–794, doi: 10.1145/2939672.2939785.

E. Karyadiputra and A. Setiawan, "Penerapan Data Mining Untuk Prediksi Awal Kemungkinan Terindikasi Diabetes," J. Teknol. Inf. Ilmu Komput., vol. 9, no. 2, pp. 189–198, 2022.

I. Goodfellow, Y. Bengio, and A. Courville, Deep Learning. Cambridge, MA, USA: MIT Press, 2016.

N. V. Chawla, K. W. Bowyer, L. O. Hall, and W. P. Kegelmeyer, "SMOTE: Synthetic minority over-sampling technique," J. Artif. Intell. Res., vol. 16, pp. 321–357, 2002, doi: 10.1613/jair.953.

Moh. Sukron, A. Supriadi, and R. Sulton, "Optimasi Metode Naïve Bayes Menggunakan Algoritma Particle Swarm Optimization (PSO) Untuk Prediksi Penyakit Diabetes Mellitus," J. RESTI, vol. 6, no. 3, 2022.

J. Han, M. Kamber, and J. Pei, Data Mining: Concepts and Techniques, 3rd ed. Burlington, MA, USA: Morgan Kaufmann, 2011.

H. Adrianus and D. Lasut, "Penerapan Data Mining Untuk Memprediksi Penyakit Diabetes Menggunakan Algoritma Naive Bayes," J. Ilm. Inform., vol. 11, no. 1, pp. 1–8, 2023.

A. Darmayanti, D. P. Sari, and R. P. Sari, "Prediksi Penyakit Diabetes Melitus Menggunakan Metode Support Vector Machine," J. Teknol. Inf. Ilmu Komput., vol. 5, no. 2, pp. 239–248, 2018.

D. L. Olson and D. Delen, Advanced Data Mining Techniques. Berlin, Germany: Springer, 2008.

V. Vapnik, The Nature of Statistical Learning Theory, 2nd ed. New York, NY, USA: Springer, 2000.

P. Kaviani and S. Dhotre, "Short survey on Naive Bayes algorithm," Int. J. Adv. Eng. Manag., vol. 2, no. 11, pp. 80–88, 2017.

R. Kohavi and G. H. John, "Wrappers for feature subset selection," Artif. Intell., vol. 97, no. 1–2, pp. 273–324, 1997, doi: 10.1016/S0004-3702(97)00043-X.




DOI: https://doi.org/10.29100/joeict.v8i2.9282

Refbacks

  • There are currently no refbacks.


Copyright (c) 2025 Fahrur Rozi, Bian Dwi Pamungkas, Vertika Panggayuh, Feraldy Satria Putra

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

JoEICT (Journal of Education And ICT)
ISSN 2987-3215
Published by
Prodi Pendidikan Teknologi Informasi
University of Bhinneka PGRI

Website : https://jurnal.stkippgritulungagung.ac.id/index.php/joeict/index


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