Machine Learning-Based Classification of Coronary Heart Disease: A Comparative Analysis of Logistic Regression, Random Forest, and Support Vector Machine Models
The accurate and early detection of coronary heart disease (CHD) is crucial for reducing mortality rates. This study evaluates the predictive performance of three machine learning models—Logistic Regression (LR), Random Forest (RF), and Support Vector Machine (SVM)—for classifying CHD. The models were trained on a comprehensive heart disease dataset and assessed using metrics such as Accuracy, Specificity, Sensitivity, F1-score, Negative Predictive Value, and Positive Predictive Value. Among the models, RF demonstrated the highest accuracy (93.5%), while SVM excelled in sensitivity (97.5%). The findings highlight the potential of machine learning techniques in clinical decision-making and personalized medicine.
Cite this paper
Munmun, Z. S. , Akter, S. and Parvez, C. R. (2025). Machine Learning-Based Classification of Coronary Heart Disease: A Comparative Analysis of Logistic Regression, Random Forest, and Support Vector Machine Models. Open Access Library Journal, 12, e3054. doi: http://dx.doi.org/10.4236/oalib.1113054.
Bahrami, B. and Shirvani, M.H. (2015) Prediction and Diagnosis of Heart Disease by Data Mining Techniques. Journal of Multidisciplinary Engineering Science and Technology, 2, 164-168.
Mansoor, H., Elgendy, I.Y., Segal, R., Bavry, A.A. and Bian, J. (2017) Risk Prediction Model for In-Hospital Mortality in Women with ST-Elevation Myocardial Infarction: A Machine Learning Approach. Heart & Lung, 46, 405-411. https://doi.org/10.1016/j.hrtlng.2017.09.003
Islam, H., Elgendy, Y., Segal, R., et al. (2017) Risk Prediction Model for In-Hospital Mortality in Women with ST-Elevation Myocardial Infarction: A Machine Learning Approach. Journal of Cardiovascular Medicine, 2, 1-9.
Hassan, M., Ashraf, A., Nasir, M., Khan, F., Abdul Karim, S.A. and Wajid, A.H. (2024) A Comparative Analysis of Machine Learning-Based Prediction for Heart Disease Detection. In: Karim, S.A.A., Ed., Intelligent Systems Modeling and Simulation III: Artificial Intelligent, Ma-chine Learning, Intelligent Functions and Cyber Security, Springer, 159-174. https://doi.org/10.1007/978-3-031-67317-7_10
Hossen, M.D.A., Tazin, T., Khan, S., Alam, E., Sojib, H.A., Moniru-jjaman Khan, M., et al. (2021) Supervised Machine Learning-Based Cardiovascular Disease Analysis and Prediction. Math-ematical Problems in Engineering, 2021, Article ID: 1792201. https://doi.org/10.1155/2021/1792201
Alizadehsani, R., Abdar, M., Roshanzamir, M., Khosravi, A., Kebria, P.M., Khozeimeh, F., et al. (2019) Machine Learning-Based Coronary Artery Disease Diagnosis: A Comprehensive Review. Com-puters in Biology and Medicine, 111, Article ID: 103346. https://doi.org/10.1016/j.compbiomed.2019.103346
Ahmad, G.N., Ullah, S., Algethami, A., Fatima, H. and Akhter, S.M.H. (2022) Comparative Study of Optimum Medical Diagnosis of Human Heart Disease Using Machine Learning Tech-nique with and without Sequential Feature Selection. IEEE Access, 10, 23808-23828. https://doi.org/10.1109/access.2022.3153047
Huang, Y., Ren, Y., Yang, H., Ding, Y., Liu, Y., Yang, Y., et al. (2022) Using a Machine Learning-Based Risk Prediction Model to Analyze the Coronary Artery Calcification Score and Predict Cor-onary Heart Disease and Risk Assessment. Computers in Biology and Medicine, 151, Article ID: 106297. https://doi.org/10.1016/j.compbiomed.2022.106297
Safdar, S., Zafar, S., Zafar, N. and Khan, N.F. (2017) Machine Learning Based Decision Support Systems (DSS) for Heart Disease Diagnosis: A Review. Artificial Intel-ligence Review, 50, 597-623. https://doi.org/10.1007/s10462-017-9552-8
Bietrosula, A.B., Werdiningsih, I. and Wuri-yanto, E. (2024) Classification of Cardiovascular Disease Based on Lifestyle Using Random Forest and Logistic Regression Methods. Indonesian Journal of Electrical Engineering and Informatics (IJEEI), 12, 291-306. https://doi.org/10.52549/ijeei.v12i2.5388
Hassan, M., Ashraf, A., Nasir, M., Khan, F., Abdul Karim, S.A. and Wajid, A.H. (2024) A Comparative Analysis of Machine Learning-Based Prediction for Heart Disease Detection. In: Karim, S.A.A., Ed., Intelligent Systems Modeling and Simulation III: Artificial Intelligent, Machine Learning, Intelligent Functions and Cyber Security, Springer, 159-174. https://doi.org/10.1007/978-3-031-67317-7_10
özbay Karakuş, M. and Er, O. (2022) A Comparative Study on Prediction of Survival Event of Heart Failure Patients Using Machine Learning Algorithms. Neural Computing and Applications, 34, 13895-13908. https://doi.org/10.1007/s00521-022-07201-9
Krishnani, D., Kumari, A., Dewangan, A., Singh, A. and Naik, N.S. (2019) Prediction of Coronary Heart Disease Using Supervised Machine Learning Algorithms. IEEE Region 10 Conference (TEN-CON), Kochi, 17-20 October 2019, 367-372. https://doi.org/10.1109/tencon.2019.8929434
Obasi, T. and Omair Shafiq, M. (2019) Towards Comparing and Using Machine Learning Techniques for Detecting and Predicting Heart Attack and Diseases. 2019 IEEE International Conference on Big Data (Big Data), Los Angeles, 9-12 December 2019, 2393-2402. https://doi.org/10.1109/bigdata47090.2019.9005488
Rani, P., Kumar, R., Ahmed, N.M.O.S. and Jain, A. (2021) A Decision Support System for Heart Disease Prediction Based Upon Machine Learning. Journal of Reliable Intelligent Envi-ronments, 7, 263-275. https://doi.org/10.1007/s40860-021-00133-6
Sunny, M.N.M., Amin, M.M., Akter, M.H., Hossain, K.M.S., Nahian, A.A. and Atayeva, J. (2024) Classification of Cancer Stages Using Machine Learning on Numerical Biomarker Data. South Eastern European Journal of Public Health, 25, 1491-1498. https://doi.org/10.70135/seejph.vi.2114
Hasan, S., Wang, J., Anwar, M.S., Zhang, H., Liu, Y. and Yang, L. (2024). Investigating the Potential of VR in Language Education: A Study of Cybersickness and Presence Metrics. 2024 13th International Conference on Educational and Information Technology (ICEIT), Chengdu, 22-24 March 2024, 189-196. https://doi.org/10.1109/iceit61397.2024.10540709
Ahsan, M.M. and Siddique, Z. (2022) Machine Learning-Based Heart Disease Diagnosis: A Systematic Literature Review. Artificial Intelligence in Medicine, 128, Article ID: 102289. https://doi.org/10.1016/j.artmed.2022.102289
Kibria, H.B. and Matin, A. (2022) The Severity Prediction of the Binary and Multi-Class Cardiovascular Disease—A Machine Learning-Based Fusion Approach. Computational Biology and Chemistry, 98, Article ID: 107672. https://doi.org/10.1016/j.compbiolchem.2022.107672
Ullah, T., Ullah, S.I., Ullah, K., Ishaq, M., Khan, A., Ghadi, Y.Y., et al. (2024) Machine Learning-Based Cardiovascular Disease Detection Using Optimal Feature Selection. IEEE Access, 12, 16431-16446. https://doi.org/10.1109/access.2024.3359910
Sunny, M.N.M., et al. (2024) Telemedicine and Remote Healthcare: Bridging the Digital Divide. South Eastern European Journal of Public Health, 25, 1500-1510.