
Comparison of Data Mining Methods Using C4.5 Algorithm and Naive Bayes in Predicting Heart Disease
Author(s) -
Rino Rino
Publication year - 2021
Publication title -
tech-e/tech-e
Language(s) - English
Resource type - Journals
eISSN - 2598-7585
pISSN - 2581-1916
DOI - 10.31253/te.v4i2.543
Subject(s) - naive bayes classifier , bayes' theorem , computer science , algorithm , value (mathematics) , data set , artificial intelligence , data mining , coronary heart disease , machine learning , medicine , cardiology , bayesian probability , support vector machine
Heart disease is a condition of the presence of fatty deposits in the coronary arteries in the heart which changes the role and shape of the arteries so that blood flow to the heart is obstructed. Data mining methods can predict this disease, some of the methods are C4.5 Algorithm and Naive Bayes which are often used in research.The data set in this research was obtained from the uci machine learning repository site, where the dataset has 3546 records and 13 attributes.The accuracy value of the Naïve Bayes algorithm has a high value of 81.40% compared to the C4.5 algorithm which only has an accuracy value of 79.07%. Based on the calculation results, it can be concluded that the Naïve Bayes Algorithm is a very good clarification because it has a value between 0.709 - 1.00.From conclusion above, the Naïve Bayes algorithm has a higher accuracy value than the C4.5 algorithm so the researchers decided to use the Naïve Bayes algorithm in predicting heart disease.