Perbandingan Algoritma K-Nearest Neighboor dan Naive Bayes Dalam Prediksi Penyakit Ginjal Kronis Pada Lansia


  • Marco Duran Simbolon * Mail Universitas Prima Indonesia, Medan, Indonesia
  • Dimas Dimanta Bukit Universitas Prima Indonesia, Medan, Indonesia
  • Rian Elby Purba Universitas Prima Indonesia, Medan, Indonesia
  • Faisal Haries Ketaren Universitas Prima Indonesia, Medan, Indonesia
  • Agung Prabowo Universitas Prima Indonesia, Medan, Indonesia
  • (*) Corresponding Author
Keywords: Chronic Kidney Disease; K-Nearest Neighbors; Naïve Bayes; Prediction; Elderly

Abstract

Chronic kidney disease is a serious illness that requires early diagnosis to improve treatment outcomes, especially in the elderly. The main challenge in diagnosing this disease lies in the fact that symptoms often do not appear until the disease has reached an advanced stage, which necessitates the use of accurate prediction methods. Additionally, the dataset's limited size, consisting of only 195 patient records, may affect the algorithm's ability to identify patterns. Choosing the appropriate algorithm is also a challenge, as some algorithms have limitations in handling complex medical data. This study aims to evaluate the performance of the K-Nearest Neighbors (KNN) and Naïve Bayes algorithms in predicting chronic kidney disease. The dataset was analyzed using Weka Waikato software and tested using the 9-fold cross-validation method. The best results were obtained using the Naïve Bayes algorithm, with an accuracy of 97.4359%. Based on these results, it can be concluded that both algorithms can be used to predict chronic kidney disease in the elderly. However, to further improve prediction accuracy, proposed solutions include expanding the dataset with more diverse data and optimizing the algorithm's hyperparameters. On the other hand, the Naïve Bayes algorithm demonstrated higher accuracy compared to KNN in this study, making it the more recommended choice.

Downloads

Download data is not yet available.

References

T. Pipit Muliyah, Dyah Aminatun, Sukma Septian Nasution, Tommy Hastomo, Setiana Sri Wahyuni Sitepu, “Faktor Yang Berhubungan Dengan Tingkat Kecemasan Pasien Penyakit Ginjal Kronik Yang Menjalani Hemodialisis,” J. GEEJ, vol. 7, no. 2, pp. 831–844, 2020.

and Y. R. M. Rizal, M. Z. Syahaf, S. R. Priyambodo, “Optimasi Algoritma Naïve Bayes Menggunakan Forward Selection Untuk Klasifikasi Penyakit Ginjal Kronis,” Naratif J. Nas. Riset, Apl. dan Tek. Inf., vol. 5, no. 1, pp. 71–80, 2023.

P. M. S. Madani, T. Rohana, K. A. Baihaqi, and A. Fauzi, “Perbandingan Kinerja Klasifikasi Penyakit Ginjal Menggunakan Algoritma Support Vector Machine (SVM) dan Decision Tree (DT),” Build. Informatics, Technol. Sci., vol. 6, no. 1, pp. 74−82-74−82, 2024, [Online]. Available: https://ejurnal.seminar-id.com/index.php/bits/article/view/5206

Sutanto, M. Suandika, and A. Susanto, “Hubungan Body Image Dengan Quality of Life Dan Quality of Sleep Pada Pasien Gagal Ginjal Kronik Yang Menjalani Hemodialisa,” J. Penelit. Perawat Prof., vol. 6, pp. 976–980, 2024

and H. P. N. Komariyah, D. N. Aini, “Hubungan Usia, Jenis Kelamin Dan Tingkat Pendidikan Dengan Kepatuhan Pembatasan Cairan Pada Pasien Gagal Ginjal Kronik Yang Menjalani Hemodialisis,” J. Ilm. Permas J. Ilm. STIKES Kendal, vol. 14, no. 3, pp. 1107–1116, 2024.

O. V. Hafifi et al., “Analisis Survival Penderita Gagal Ginjal Dengan Pendekatan Multivariate Adaptive Regression Spline,” J. Endur. Kaji. Ilm. Probl. Kesehat., vol. 6, no. 3, pp. 504–511, 2021.

and A. F. V. Alvian, D. Hidayatullah, A. Nilogiri, H. Azizah, “Klasifikasi Siswa Berprestasi Menggunakan Metode K-Nearest Neighbor (KNN) Pada SMA Negeri 2 Situbondo Classification Of Achieving Students Using K-Nearest Neighbor (KNN) Method At SMA Negeri 2 Situbondo,” J. Smart Teknol, vol. 1, no. 1, pp. 2774–1702, 2021.

and R. I. N. Fatimah Indrianti, A. Kania Ningsih, “Implementasi Data Mining Untuk Klasifikasi Penyakit Gagal Ginjal Kronis Menggunakan Metode K-Nearest Neighbor,” JATI (Jurnal Mhs. Tek. Inf., vol. 8, no. 2, pp. 2255–2260, 2024.

and P. S. N. N. P. Nugraha, R. Azim, S. Z. Daffa, “Perbandingan Akurasi Metode Naïve Bayes dan Metode KNN untuk Memprediksi Gagal Ginjal Kronis,” J. Rekayasa Elektro Sriwij, vol. 5, no. 1, pp. 1–10, 2023.

I. Wisnuadji Gamadarenda and I. Waspada, “Implementation of Data Mining for the Detection of Chronic Kidney Disease (Ckd) Using K-Nearest Neighbor (Knn) With Backward Elimination,” J. Teknol. Inf. dan Ilmu Komput., vol. 7, no. 2, pp. 417–426, 2020.

D. Wilandini and P. Purwantoro, “Penerapan Algoritma Naïve Bayes dalam mengklasifikasikan Media Sosial untuk mengamati Trend Kuliner,” J. Teknol. Terpadu, vol. 8, no. 1, pp. 31–39, 2022.

and M. D. S. N. Rahmadani, R. Risnawati, “Penerapan Algoritma Naïve Bayes Dalam Penentuan Kelayakan Penerima Bantuan Program Keluarga Harapan,” J. Tek., vol. 3, no. 2, p. 40, 2023.

and T. S. I. Hadianti, R. Astuti, “Penerapan Algoritma Naïve Bayes Untuk Menentukan Kelayakan Penerima Bantuan Sosial Di Desa Golat,” JATI (Jurnal Mhs. Tek. Inform.), vol. 7, no. 6, pp. 3616–3620, 2024.

A. Hidayati, S., & Yulianto, “Pengaruh Kesehatan Mental Terhadap Kualitas Hidup Lansia Usia 45-65 Tahun,” J. Kesehat. Masy., vol. 16, no. 2, pp. 115–122, 2021.

N. Prasetyo, E., & Sari, “Tingkat Kecemasan dan Depresi pada Lansia Usia 45-65 Tahun di Era Pandemi COVID-19,” J. Psikol., vol. 10, no. 1, pp. 45–54, 2021.

dan R. H. U. S. A. B. Mukhlis, A. R. Mahendra, “Penanganan Missing Value pada Data Kesehatan Menggunakan Imputasi Rata-rata,” J. Sist. Inf., vol. 16, no. 1, pp. 33–40, 2020.

Alfa Saleh, “Implementasi MetodeKlasifikasi Naïve Bayes Dalam Memprediksi Besarnya Penggunaan Listrik Rumah Tangga,” J. Informatics, Inf. Syst. Softw. Eng. Appl., vol. 1, no. 2, pp. 73–81, 2019.

S. D. Herry Derajad Wijaya, “Implementasi Data Mining dengan Algoritma Naïve Bayes pada Penjualan Obat,” J. Inform., vol. 7, no. 1, pp. 1–7, 2020.

E. Chely Aulia Misrun, Haerani, E., Fikry, M., & Budianita, “Analisis sentimen komentar youtube terhadap Anies Baswedan sebagai bakal calon presiden 2024 menggunakan metode naive bayes classifier,” J. CoSciTech(Computer Sci. Inf. Technol., vol. 4, no. 1, pp. 207–215, 2023.

W. Johnson, P., & Zhang, “A Comprehensive Analysis of Naïve Bayes Classifier and Its Applications in Machine Learning,” J. Data Sci. Anal., vol. 45, no. 3, pp. 207–215, 2023.

K. Smith, J., & Johnson, “Evaluation Metrics for Machine Learning Models: The Role of Confusion Matrix,” J. Artif. Intell. Res., vol. 35, no. 2, pp. 112–130, 2023.

N. Hidayat, A., & Suryana, “Analisis Kinerja Algoritma Klasifikasi Menggunakan Confusion Matrix pada Dataset Kesehatan,” J. Inform. dan Sist. Inf., vol. 15, no. 1, pp. 67–74, 2022.

F. Prasetyo, A., & Kurniawan, “Implementasi Confusion Matrix dalam Sistem Klasifikasi Teks Menggunakan Algoritma Naïve Bayes,” J. Teknol. Inf. dan Komput., vol. 9, no. 3, pp. 112–120, 2022.


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Perbandingan Algoritma K-Nearest Neighboor dan Naive Bayes Dalam Prediksi Penyakit Ginjal Kronis Pada Lansia

Dimensions Badge
Article History
Submitted: 2024-09-20
Published: 2025-03-26
Abstract View: 262 times
PDF Download: 212 times
How to Cite
Simbolon, M., Bukit, D., Purba, R., Ketaren, F., & Prabowo, A. (2025). Perbandingan Algoritma K-Nearest Neighboor dan Naive Bayes Dalam Prediksi Penyakit Ginjal Kronis Pada Lansia. Journal of Information System Research (JOSH), 6(2), 1519−1525. https://doi.org/10.47065/josh.v6i2.5938
Issue
Section
Articles