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%.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
More From: Journal of Intelligent Computing & Health Informatics
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.