Journal
HEALTHCARE
Volume 10, Issue 6, Pages -Publisher
MDPI
DOI: 10.3390/healthcare10061137
Keywords
decision tree; random forest; KNN; AdaBoost; heart disease; prediction; smart system
Funding
- Princess Nourah bint Abdulrahman University, Riyadh, Saudi Arabia [PNURSP2022R12]
Ask authors/readers for more resources
Machine learning algorithms are effective and cost-efficient in detecting heart disease. This study used four machine learning models to predict heart disease and achieved high accuracy rates. The development of a computer-aided smart system for disease prediction is of great significance in diagnosing heart diseases.
The disease may be an explicit status that negatively affects human health. Cardiopathy is one of the common deadly diseases that is attributed to unhealthy human habits compared to alternative diseases. With the help of machine learning (ML) algorithms, heart disease can be noticed in a short time as well as at a low cost. This study adopted four machine learning models, such as random forest (RF), decision tree (DT), AdaBoost (AB), and K-nearest neighbor (KNN), to detect heart disease. A generalized algorithm was constructed to analyze the strength of the relevant factors that contribute to heart disease prediction. The models were evaluated using the datasets Cleveland, Hungary, Switzerland, and Long Beach (CHSLB), and all were collected from Kaggle. Based on the CHSLB dataset, RF, DT, AB, and KNN models predicted an accuracy of 99.03%, 96.10%, 100%, and 100%, respectively. In the case of a single (Cleveland) dataset, only two models, namely RF and KNN, show good accuracy of 93.437% and 97.83%, respectively. Finally, the study used Streamlit, an internet-based cloud hosting platform, to develop a computer-aided smart system for disease prediction. It is expected that the proposed tool together with the ML algorithm will play a key role in diagnosing heart diseases in a very convenient manner. Above all, the study has made a substantial contribution to the computation of strength scores with significant predictors in the prognosis of heart disease.
Authors
I am an author on this paper
Click your name to claim this paper and add it to your profile.
Reviews
Recommended
No Data Available