COMPARISON OF K-NEAREST NEIGHBOR CLASSIFICATION AND NAIVE BAYES CLASSIFIER IN ANALYSIS OF HEART DISEASE

Angga Aditya Permana(1*), Arsanah Arsanah(2)


(1) Universitas Multimedia Nusantara
(2) Universitas Muhammadiyah Tangerang
(*) Corresponding Author

Abstract


Heart disease is one of the highest causes of death in several countries, one of which is in Indonesia. There are lots of machine learning algorithms that can be used to make predictions. In this study, we conducted an experiment using the uci repository heart as the dataset used and used two algorithms, namely K-Nearest Neighbors and Naive Bayes. This study aims to find out which algorithm has a better accuracy value in conducting a classification on uci repository heart data, generating confusion matrix values, analyzing and accuracy values in predicting heart disease based on 14 attributes. The results of testing using the confusion matrix is that the KNN algorithm has an accuracy value of 91.25% while Naive Bayes is 88.7%.

Keywords


KNN, Naïve Bayes, Comparison, Heart Disease

References


Amrizal, V., Aini, Q., 2013. Naskah Kecerdasan Buatan, Kecerdasan Buatan.

andiani, L., Ilmu Komputer, J., Palupi Rini, D., 2019. Analisis Penyakit Jantung Menggunakan Metode KNN Dan Random Forest. Pros. Annu. Res. Semin. 5, 978–979.

BUKU AJAR PEMROGRAMAN LANJUT BAHASA PEMROGRAMAN PYTHON Oleh : ALFIAN MA ’ ARIF, 2020.

Haviluddin, 2011. Memahami Penggunaan UML ( Unified Modelling Language ). Memahami Pengguna. UML (Unified Model. Lang. 6, 1–15.

Jiang, X., Cai, B., Xue, D., Lu, X., Cooper, G.F., Neapolitan, R.E., 2014. A comparative analysis of methods for predicting clinical outcomes using high-dimensional genomic datasets. J. Am. Med. Inform. Assoc. 21. https://doi.org/10.1136/amiajnl-2013-002358

Kemenkes RI, 2014. Situasi kesehatan jantung. Pus. data dan Inf. Kementeri. Kesehat. RI 3. https://doi.org/10.1017/CBO9781107415324.004

Permana, A.A., Fahrezi, M.F., Kristiyanti, D.A., Sihotang, M., 2021. Sentimen Analisis Opini Masyarakat Pada Media Sosial Twitter Terhadap Vaksin Berbayar Menggunakan Metode Naïve Bayes Classifier (Nbc). J. Tek. 10, 113–121. https://doi.org/10.31000/jt.v10i2.5471

Permana, A.A., Taufiq, R., Ramadhina, S., 2020. Prototype design of mobile application ‘hydrolite’ for hydroponics marketplace. Int. Conf. Electr. Eng. Comput. Sci. Informatics 2020-October, 45–48. https://doi.org/10.23919/EECSI50503.2020.9251303

Permana, D.S., Silvanie, A., 2021. Prediksi Penyakit Jantung Menggunakan Support Vector Machinedan Pythonpada Basis Data Pasiendi Cleveland. J. Nas. Inform. 2, 30–34.

Sari, A.N., Alfionita, S., 2022. Klasifikasi Penyakit Jantung Menggunakan Metode Naïve Bayes. AMRI (Analisa Metod. Rekayasa Inform. 1, 22–26. https://doi.org/10.12487/AMRI.v1i1.xxxxx

Steven, C., Wella, W., 2020. The Right Sentiment Analysis Method of Indonesian Tourism in Social Media Twitter. IJNMT (International J. New Media Technol. 7, 102–110. https://doi.org/10.31937/ijnmt.v7i2.1732

Visa, S., Ramsay, B., Ralescu, A., Van Der Knaap, E., 2011. Confusion matrix-based feature selection. CEUR Workshop Proc. 710, 120–127.

Waldmann, P., 2018. Approximate Bayesian neural networks in genomic prediction. Genet. Sel. Evol. 50. https://doi.org/10.1186/s12711-018-0439-1

Yuli Mardi, 2019. Data Mining : Klasifikasi Menggunakan Algoritma C4 . 5 Data mining merupakan bagian dari tahapan proses Knowledge Discovery in Database ( KDD ) . Jurnal Edik Informatika. J. Edik Inform. 2, 213–219.


Article Metrics

Abstract view : 18 times


DOI: https://doi.org/10.26714/jichi.v5i1.11251

Refbacks

  • There are currently no refbacks.


____________________________________________________________________________
Journal of Intelligent Computing and Health Informatics (JICHI)
ISSN 2715-6923 (print) | 2721-9186 (online)
Organized by
Department of Informatics
Faculty of Engineering
Universitas Muhammadiyah Semarang

W : https://jurnal.unimus.ac.id/index.php/ICHI
E : [email protected], [email protected]

View My Stats