Implementation of Naïve Bayes and K-NN Algorithms in Diagnosing Stunting in Children

Authors

  • Wulan Widhari Faculty of Communication and Information Technology, Universitas Nasional, Jakarta, Indonesia
  • Agung Triayudi Faculty of Communication and Information Technology, Universitas Nasional, Jakarta, Indonesia
  • Ratih Titi Komala Sari Faculty of Communication and Information Technology, Universitas Nasional, Jakarta, Indonesia

DOI:

https://doi.org/10.58905/saga.v2i1.242

Keywords:

Classification, Comparison, Naive Bayes, K-Nearest Neighbors, Stunting

Abstract

Indonesia faces a huge potential risk of stunting, as revealed in the Indonesian Nutrition Status Analysis according to 2022 data, the stunting rate reached 24.22% in 514 districts / cities throughout Indonesia. To prevent stunting in children, early detection can be done. This research was conducted to compare the performance of two algorithms Naive Bayes and K-NN to predict stunting cases in children, to get a better picture of how classification algorithms predict stunting cases with a better level of accuracy and responsiveness, comparison experiments of several algorithms are needed using specific datasets to develop an optimal classification model. Based on the results of performance testing on the K-Nearest Neighbor and Naive Bayes methods in testing the performance of accuracy, precision, recall, and f1-score, the results of performance testing on the naïve bayes method obtained performance values on 30% testing data are accuracy of 71%, precision 71%, recall 76%, and f1-score 73%. The performance results of the K-NN method using the euclidean distance measurement obtained the best performance value, namely accuracy of 97%, precision of 98%, recall of 96%, f1-score of 97% at a value of k = 3. Based on the performance results of the comparison of the Naive Bayes and K-NN methods, it shows that the best classification method on the stunting dataset is the K-NN method because it gets better performance than the Naive Bayes method.

Author Biographies

Agung Triayudi, Faculty of Communication and Information Technology, Universitas Nasional, Jakarta, Indonesia

Informatics Department, Faculty of Communication and Information Technology, Universitas Nasional, Jakarta, Indonesia

Ratih Titi Komala Sari, Faculty of Communication and Information Technology, Universitas Nasional, Jakarta, Indonesia

Informatics Department, Faculty of Communication and Information Technology, Universitas Nasional, Jakarta, Indonesia

References

Z. Zurhayati and N. Hidayah, “FAKTOR YANG BERHUBUNGAN DENGAN KEJADIAN STUNTING PADA BALITA,” JOMIS (Journal of Midwifery Science), vol. 6, no. 1, pp. 1–10, Jan. 2022, doi: 10.36341/jomis.v6i1.1730.

Y. Rahma and D. Suhartini, “APLIKASI DIAGNOSA PENYAKIT STUNTING PADA BALITA,” 2023. doi: 10.33365/jti.v17i2.2581.

T. Prasetiya, I. Ali, C. L. Rohmat, and O. Nurdiawan, “Klasifikasi Status Stunting Balita Di Desa Slangit Menggunakan Metode K-Nearest Neighbor,” INFORMATICS FOR EDUCATORS AND PROFESSIONAL : Journal of Informatics, vol. 5, no. 1, p. 93, Dec. 2020, doi: 10.51211/itbi.v5i1.1431.

L. Firgia, A. C. Nurcahyo, N. P, and M. Mira, “IMPLEMENTASI METODE NAÏVE BAYES SISTEM PAKAR MENDETEKSI STUNTING PADA BALITA BERBASIS WEBSITE,” Sebatik, vol. 26, no. 2, pp. 543–548, Dec. 2022, doi: 10.46984/sebatik.v26i2.2117.

H. Indra Purwanto and S. Wibisono, “AHP-CBR Untuk Deteksi Dini Stunting Pada Balita Menggunakan Algoritma Similaritas KNN,” UNIVERSITAS BINA INSANI INFORMATICS FOR EDUCATORS AND PROFESSIONALS, vol. 7, no. 1, pp. 64–73, 2022.

I. P. Putri, Terttiaavini, and N. Arminarahmah, “Analisis Perbandingan Algoritma Machine Learning untuk Prediksi Stunting pada Anak,” MALCOM: Indonesian Journal of Machine Learning and Computer Science, vol. 4, no. 1, pp. 257–265, Jan. 2024, doi: 10.57152/malcom.v4i1.1078.

D. Gunawan and V. N. Andika, “Implementasi Teorema Bayes Pada Sistem Informasi Posyandu Dalam Mendeteksi Stunting Pada Balita,” Jurnal Sistem Komputer dan Informatika (JSON), vol. 4, no. 4, p. 692, Jun. 2023, doi: 10.30865/json.v4i4.6146.

R. R. R. Arisandi, B. Warsito, and A. R. Hakim, “APLIKASI NAÏVE BAYES CLASSIFIER (NBC) PADA KLASIFIKASI STATUS GIZI BALITA STUNTING DENGAN PENGUJIAN K-FOLD CROSS VALIDATION,” Jurnal Gaussian, vol. 11, no. 1, pp. 130–139, May 2022, doi: 10.14710/j.gauss.v11i1.33991.

N. A. Sholikhin and S. Atmojo, “Aplikasi Web Untuk Klasifikasi Stunting Pada Balita Dengan Menggunakan Metode K-Nearest Neighbours (Studi Kasus Posyandu Jawu Kidul),” Journal of System Engineering and Technological Innovation (JISTI), vol. 1, no. 02, pp. 44–47, Oct. 2022, doi: 10.38156/jisti.v1i02.23.

A. Rozaq and A. J. Purnomo, “CLASSIFICATION OF STUNTING STATUS IN TODDLERS USING NAIVE BAYES METHOD IN THE CITY OF MADIUN BASED ON WEBSITE,” Jurnal Techno Nusa Mandiri, vol. 19, no. 2, pp. 69–76, Sep. 2022, doi: 10.33480/techno.v19i2.3337.

Harliana and D. Anggraini, “Penerapan Algoritma Naïve Bayes Pada Klasifikasi Status Gizi Balita di Posyandu Desa Kalitengah,” 2023.

O. Saeful Bachri and R. M. Herdian Bhakti, “Penentuan Status Stunting pada Anak dengan Menggunakan Algoritma KNN,” Jurnal Ilmiah Intech : Information Technology Journal of UMUS, vol. 3, no. 02, pp. 130–137, Nov. 2021, doi: 10.46772/intech.v3i02.533.

S. Sahar, “Analisis Perbandingan Metode K-Nearest Neighbor dan Naïve Bayes Clasiffier Pada Dataset Penyakit Jantung,” Indonesian Journal of Data and Science, vol. 1, no. 3, Dec. 2020, doi: 10.33096/ijodas.v1i3.20.

Y. Saputra, N. Khoirunisa, and S. Arinal Haqq, “Classification of Health and Nutritional Status of Toddlers Using the Naïve Bayes Classification,” CoreID Journal, vol. 1, no. 2, pp. 49–57, Jul. 2023, doi: 10.60005/coreid.v1i2.8.

A. Byna, MONOGRAF ANALISIS KOMPARATIF MACHINE LEARNING UNTUK KLASIFIKASI KEJADIAN STUNTING. CV. Pena Persada, 2020. doi: 10.31237/osf.io/dtcaz.

Downloads

Published

11-03-2024