Jurnal Rekayasa Elektro Sriwijaya
Vol. 5 No. 2 (2024): Jurnal Rekayasa Elektro Sriwijaya

Analisis Perbandingan Klasifikasi Penyakit Jantung Menggunakan Algoritma Nai ̈ve Bayes dan Algoritma Logistic Regression

Anita Desiani (Universitas Sriwijaya)
Annisa Aulia Lestari (Matematika, Fakultas Matematika dan Ilmu Pengetahuan Alam, Universitas Sriwijaya)
Lucy Chania Agatha (Matematika, Fakultas Matematika dan Ilmu Pengetahuan Alam, Universitas Sriwijaya)



Article Info

Publish Date
19 May 2024

Abstract

Heart disease is a condition where parts of the heart are damaged. Thus, early detection is needed. One of them is by doing data mining classification using the Naïve Bayes and Logistic Regression algorithms. This research will compare Naïve Bayes and Logistic Regression algorithms through the training percentage split and k-fold cross validation methods to get the best classification results in detecting heart disease by calculating the average value of precision, recall, and accuracy. The Naïve Bayes algorithm with the training percentage split method produces average values for precision, recall, and accuracy of 83%, 82.5% and 81%, while the Naïve Bayes algorithm with k-fold cross validation provides average values for precision, recall, and accuracy of 83.5%, 85.5% and 83%. Logistic Regression algorithm with percentage split training method produces average values for precision, recall, and accuracy of 73.5%, 73.5% and 73%, while Logistic Regression algorithm using k-fold cross validation produces average values for precision, recall, and accuracy of 84%, 83.5% and 84%. This shows that the Naïve Bayes algorithm using percentage split is better than Logistic Regression, but when using the k-fold cross validation method, the Logistic Regression algorithm has a significant increase compared to Naïve Bayes. So that to classify heart disease is better with the Logistic Regression Algorithm with the k-fold cross validation method.

Copyrights © 2024






Journal Info

Abbrev

jres

Publisher

Subject

Computer Science & IT Control & Systems Engineering Electrical & Electronics Engineering Engineering

Description

Jurnal Rekayasa Elektro Sriwijaya adalah peer-reviewed jurnal yang dipublikasikan oleh Jurusan Teknik Elektro Universitas Sriwijaya. Jurnal ini diterbitkan dua kali dalam setahun, yaitu pada bulan Mei dan November. Ruang lingkup jurnal berfokus pada bidang teknik elektro, namun tidak hanya terbatas ...