Machine learning for heart disease prediction a comparison analysis
Keywords:
Heart Diseases, Machine Learning Algorithms, Logistic Regression, Decision Tree, SVM, Naïve BayesAbstract
Predicting cardiac conditions remains one of the most formidable tasks within the medical field today, with heart disease claiming a life every minute in the contemporary landscape. The data-rich healthcare industry necessitates the application of data science for efficient data processing. Given the intricate nature of prognosticating heart-related disorders, the automation of this process becomes a necessity, aiming to mitigate potential risks and offer timely alerts to patients. In this research endeavor, the heart disease dataset extracted from the UCI machine learning repository is employed. The proposed study embraces an array of data mining strategies, encompassing Logistic Regression, Decision Tree, Support Vector Machine (SVM), and Naive Bayes algorithm, to anticipate the likelihood of Heart Disease and stratify patient risk levels. This article undertakes a comparative analysis of various machine learning algorithms to assess their effectiveness. The trial outcomes indicate that, compared to other utilized ML algorithms, Support Vector Machine (SVM) emerges with the highest accuracy, registering at 90.48%.
References
A. Golande, 'Heart Disease Prediction Using Effective Machine Learning Techniques', vol. 8, 2019.
T. Nagamani, S. Logeswari, and B. Gomathy, 'Heart Disease Prediction using Data Mining with Mapreduce Algorithm', vol. 8, 2019.
M. Shahreyar, R. Fahhoum, O. Akinseye, S. Bhandari, G. Dang, and R. N. Khouzam, 'Severe sepsis and cardiac arrhythmias', Ann. Transl. Med., vol. 6, no. 1, p. 6, Jan. 2018. doi.org/10.21037/atm.2017.12.26
Andras Janosi, William Steinbrunn, Matthias Pfisterer, Robert Detrano, 'Heart Disease'. UCI Machine Learning Repository, 1989.
“Design And Implementing Heart Disease Prediction Using Naives Bayesian | Semantic Scholar.” https://www.semanticscholar.org/paper/Design-And-Implementing-Heart-Disease-Prediction-Repaka-Ravikanti/d1038f406d8662d07b4d95c22ff008f9307043c0 (accessed Aug. 14, 2023).
“What is Logistic regression? | IBM.” https://www.ibm.com/topics/logistic-regression (accessed Aug. 14, 2023).
“Decision Tree Algorithm in Machine Learning - Javatpoint.” https://www.javatpoint.com/machinelearning-decision-tree-classification-algorithm (accessed Aug. 14, 2023).
“Support Vector Machine (SVM) Algorithm - Javatpoint.” https://www.javatpoint.com/machinelearning-support-vector-machine-algorithm (accessed Aug. 14, 2023).
“Naive Bayes Classifier in Machine Learning - Javatpoint.” https://www.javatpoint.com/machinelearning-naive-bayes-classifier (accessed Aug. 14, 2023).
F.-J. Yang, 'An implementation of naive Bayes classifier', in 2018 International Conference on Computational Science and Computational Intelligence (CSCI), Las Vegas, NV, USA, 2018. doi.org/10.1109/CSCI46756.2018.00065
“Classification: Precision and Recall | Machine Learning | Google for Developers.” https://developers.google.com/machine-learning/crash-course/classification/precision-and-recall (accessed Aug. 14, 2023).
S. Dumais et al., 'F-Measure', in Encyclopedia of Database Systems, Boston, MA: Springer US, 2009, pp. 1147-1147. doi.org/10.1007/978-0-387-39940-9_483
R. Parikh, A. Mathai, S. Parikh, G. C. Sekhar, and R. Thomas, 'Understanding and using sensitivity, specificity and predictive values', Indian J. Ophthalmol, vol. 56, no. 1, pp. 45-50, 2008. doi.org/10.4103/0301-4738.37595
Published
How to Cite
Issue
Section
Copyright (c) 2023 Nishat Tasnim, Kazi Tanvir, Sanjid Bin Karim Sezan

This work is licensed under a Creative Commons Attribution 4.0 International License.
Article history
- Received: 24 May 2023
- Revised: 03 August 2023
- Accepted: 10 August 2023
- Published: 27 September 2023