COMPARISON OF K-NEAREST NEIGHBOR AND NAÏVE BAYES CLASSIFICATION METHODS FOR STATUS OF TODDLER NUTRITION DATA AT BAQA SAMARINDA SEBERANG COMMUNITY HEALTH CENTER

Muzizah Annabaa Aulia(1*), Rito Goejantoro(2), Memi Nor Hayati(3)


(1) Statistics Study Program, Department of Mathematics, Faculty of Mathematics and Natural Sciences (FMIPA), Mulawarman University, Samarinda, Indonesia
(2) Statistics Study Program, Department of Mathematics, Faculty of Mathematics and Natural Sciences (FMIPA), Mulawarman University, Samarinda, Indonesia
(3) Statistics Study Program, Department of Mathematics, Faculty of Mathematics and Natural Sciences (FMIPA), Mulawarman University, Samarinda, Indonesia
(*) Corresponding Author

Abstract


Classification is a job of assessing data objects to put them into a certain class from a number of available classes. The naïve Bayes method is a statistical classification that can be used to estimate the probability of membership in a class. Meanwhile, the K-Nearest Neighbor (K-NN) method is a supervised method used for classification. The aim of this research is to obtain classification results of the nutritional status of toddlers at the Baqa Samarinda Seberang Community Health Center in 2022 using the naïve Bayes algorithm and the K-NN algorithm. Based on the calculation results for classification of the nutritional status of toddlers at the Baqa Samarinda Seberang Community Health Center using accuracy calculations and confusion matrices, the highest accuracy was obtained using the naïve Bayes method of 82.15% and a Press's Q value of 168 with a training data proportion of 90%: testing data of 10%. Meanwhile, the results of accuracy calculations and the confusion matrix obtained the highest accuracy in the K-NN method of 90.57% at values 3-NN, 5-NN, 7-NN, 9-NN and Press's Q value of 187.65 with a training data proportion of 90% and testing data 10%. From the results of this analysis, it was concluded that the K-NN method worked better than the naïve Bayes method in classifying the nutritional status of toddlers at the Baqa Samarinda Seberang Community Health Center.

Full Text:

PDF

References


Han, J., Kamber, M., & Pei, J. (2012). Data Mining: Concept and Techniques, Third Edition. Waltham: Morgan Kaufmann Publishers.

Prasetyo, E. (2012) . Data Mining: Konsep dan Aplikasi Menggunakan Matlab. Yogyakarta: Andi Offset.

Rahmaulidyah, F.N., Hayati, M.N., & Goejantoro, R. (2021). Perbandingan Metode Klasifikasi naïve Bayes dan K-Neirest Neighbor Pada Data Status Pembayaran Pajak Pertambahan Nilai di Kantor Pelayanan Pajak Pratama Samarinda Ulu. Jurnal Eksponensial, 12(2), 161-164.

Mustaghfiroh, L., Ariani, M. H., & Bijanto. (2022) . Klasifikasi Pasien Covid-19 di Indonesia menggunakan Metode K-Nearest Neighbor. Jurnal AMRI, 1(1), 16-21.

Saeroni, A., Hayati, M.N., & Goejantoro, R. (2020). Klasifikasi Tingkat Kelancaran Nasabah Dalam Membayar Premi dengan Menggunakan Metode K-Nearest Neighbor dan Analisis Diskriminan Fisher (Studi kasus: Data Nasabah PT. Prudential Life Samarinda Tahun 2019). Jurnal Statistika Universitas Muhammadiyah Semarang, 8(2), 88-94.

Bustami. (2014). Penerapan Algoritma Naïve Bayes untuk Mengklasifikasikan Data Nasabah Asuransi. Jurnal Penelitian Teknik Informatika, 8(1), 129-132.

Tan, P., Steinbach, M., & Kumar, V. (2006). Introduction to Data Mining. Boston: Pearson Education.

Prasetyo, E. (2014) . Data Mining: Mengolah Data Menjadi Informasi Menggunakan Matlab. Yogyakarta: Andi Offset.

Simamora, B. (2005). Analisis Multivariat Pemasaran. Jakarta: PT. Gramedia Pustaka Utama

Hair, J., Black, W., Babin, B., Anderson, R. & Tatham, R. (2006) . Multivariate Data Analysis 5th Edition . New Jersey: Pearson Prentice Hall.

Rofiq, A., Wuryandari, T., & Rahmawati, R. (2016). Perbandingan Analisis Diskriminan Fisher dan naïve Bayes Untuk Klasifikasi Risiko Kredit (Studi Kasus Debitur di Koperasi Jateng Amanah Mandiri Cabang Sukorejo Kendal). Jurnal Gaussian, 5(1), 1-10.

Loka, S. K. P., & Marsal, A. (2023). Perbandingan Algoritma K-Nearest Neighbor dan Naïve Bayes Classifier untuk Klasifikasi Status Gizi Pada Balita. MALCOM: Indonesian Journal of Machine Learning and Computer Science, 3(1), 8-14. https://doi.org/10.57152/malcom.v3i1.474

Setiawan, R., & Triayudi, A. (2022). Klasifikasi Status Gizi Balita Menggunakan Naïve Bayes dan K-Nearest Neighbor Berbasis Web. Jurnal Media Informatika Budidarma, 6(2), 777-785. https://doi.org/10.30865/mib.v6i2.3566

Kamil, M. I., & Wibowo, A. P. (2024). Implementation of the Naive Bayes Classifier Algorithm for Classifying Toddler Nutritional Status. Journal of Applied Informatics and Computing, 8(2), 421-427. https://doi.org/10.30871/jaic.v8i2.8669

Farhan, N. H., & Gunawansyah. (2024). Classification of Toddler Nutrition for Early Detection of Stunting Using the K-Nearest Neighbor Method. G-Tech: Jurnal Teknologi Terapan, 8(4), 2777-2786. https://doi.org/10.70609/gtech.v8i4.5429


Article Metrics

Abstract view : 308 times
PDF - 112 times

DOI: https://doi.org/10.26714/jsunimus.13.1.2025.1-13

Refbacks

  • There are currently no refbacks.


Copyright (c) 2025 Jurnal Statistika Universitas Muhammadiyah Semarang

Editorial Office:
Department of Statistics

Universitas Muhammadiyah Semarang

Jl. Kedungmundu No. 18 Semarang Indonesia



Published by: 
Department of Statistics Universitas Muhammadiyah Semarang

View My Stats

Creative Commons License

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