Journal Press India®

Heart Disease Prediction: A Comparative Analysis of Machine Learning Algorithms

Vol 3 , Issue 2 , July - December 2023 | Pages: 171-192 | Research Paper  

https://doi.org/10.17492/computology.v3i2.2309


Author Details ( * ) denotes Corresponding author

1. Adarsh Sharma, Student, CSE, Sharda University, Greater Noida, Uttar Pradesh, India (adys030501@gmail.com)
2. * Himanshu Sharma, Assistant Professor, CSE, Sharda University, Greater Noida, Uttar Pradesh, India (himanshugbpuat@gmail.com)
3. Sudeep Varshney, Associate Professor, CSE, Sharda University, Greater Noida, Uttar Pradesh, India (sudeep.varshney@sharda.ac.in)
4. Nutan Gusain, Assistant Professor, CSE, Galgotias University, Greater Noida, Uttar Pradesh, India (nutan.gusain41@gmail.com)

Nowadays, heart disease is one of the biggest concerns. A WHO statistic states that 17.9 million people worldwide die each year, accounting for 32% of all deaths worldwide. It is now very difficult to diagnose and start therapy at an early stage due to population growth. In the healthcare industry, earlier machine learning techniques have been highly successful. The study focuses on predicting cardiac disease using historical data and knowledge. Much greater precision, correctness, and perfection are needed in the analysis and prognosis of cardiac-related issues because, if left undiagnosed, the condition can be fatal. We require a crucial prediction system to address such an issue. This study calculates and determines how accurately machine learning algorithms predict cardiac disease. A variety of machine learning algorithms, including Random Forest Classifier (RF), Neural Network (MLP), Logistic Regression (LR), Naïve Bayes (NB), Support Vector Machine (SVM), Decision Tree (DT), and K-Nearest Neighbour Classifier (KNN), are used to make this prediction. Training and testing of these algorithms are done using the heart dataset. In training, 80% of the dataset is used, and 20% of the dataset is used for testing. The metrics Accuracy, F1-Score, Recall, Precision, and ROC-curve are used for comparison. The results show that RF, MLP, MLP,RF, and RF have the highest accuracy (86.96), F1-score (86.79), recall (0.91), precision (0.82), and ROC-curve (0.93), respectively.

Keywords

Heart Disease Prediction; Logistic Regression; Machine Learning; Heart Dataset; Performance Evaluation; SVM; KNN; Random Forest; Decision Tree; Logistic Regression; Naïve Bayes; Neural Network

  1. Pathan, M. S., Nag, A., Pathan, M. M., & Dev, S. (2022). Analyzing the impact of feature selection on the accuracy of heart disease prediction. Healthcare Analytics, 2, 100060.
  2. Singh, A., & Kumar, R. (2020, February). Heart disease prediction using machine learning algorithms. In 2020 International Conference on Electrical and Electronics Engineering (ICE3) (pp. 452- 457). IEEE.
  3. Repaka, A. N., Ravikanti, S. D., & Franklin, R. G. (2019, April). Design and implementing heart disease prediction using naives Bayesian. In 2019 3rd International conference on trends in electronics and informatics (ICOEI) (pp. 292-297). IEEE.
  4. Mohan, S., Thirumalai, C., & Srivastava, G. (2019). Effective heart disease prediction using hybrid machine learning techniques. IEEE Access, 7,             81542-81554.
  5. Kavitha, M., Gnaneswar, G., Dinesh, R., Sai, Y. R., & Suraj, R. S. (2021, January). Heart disease prediction using hybrid machine learning model. In 2021 6th international conference on inventive computation technologies (ICICT) (pp. 1329-1333). IEEE.
  6. Ali, M. M., Paul, B. K., Ahmed, K., Bui, F. M., Quinn, J. M., & Moni, M. A. (2021). Heart disease prediction using supervised machine learning algorithms: Performance analysis and comparison. Computers in Biology and Medicine, 136, 104672.
  7. Rani, P., Kumar, R., Ahmed, N. M. S., & Jain, A. (2021). A decision support system for heart disease prediction based upon machine learning. Journal of Reliable Intelligent Environments, 7(3), 263-275.
  8. Katarya, R., & Meena, S. K. (2021). Machine learning techniques for heart disease prediction: a comparative study and analysis. Health and Technology, 11, 87-97.
  9. El-Hasnony, I. M., Elzeki, O. M., Alshehri, A., & Salem, H. (2022). Multi-label active learning-based machine learning model for heart disease prediction. Sensors, 22(3), 1184.
  10. Sharma, V., Yadav, S., & Gupta, M. (2020, December). Heart disease prediction using machine learning techniques. In 2020 2nd International Conference on Advances in Computing, Communication Control and Networking (ICACCCN) (pp. 177-181). IEEE.
  11. https://www.who.int/health-topics/cardiovascular-diseases#tab=tab_1.
  12. Rani, P., Kumar, R., Jain, A. & Lamba, R. (2020) Taxonomy of machine learning algorithms and its applications. Journal of Computational and Theroretical Nanoscience, 17(6):2509–2514.
  13. Luo, X., Lin, F., Chen, Y., Zhu, S., Xu, Z., Huo, Z., ... & Peng, J. (2019). Coupling logistic model tree and random subspace to predict the landslide susceptibility areas with considering the uncertainty of environmental features. Scientific Reports, 9(1), 15369.
  14. Cortes, C. & Vapnik, V. (1995). Support-vector networks. Machine Learning, 20(3), 273–97.
  15. Jabbar, M. A., Deekshatulu, B. L. & Chandra, P. (2016). Prediction of heart disease using random forest and feature subset selection. In Innovations in Bio-Inspired Computing and Applications, pp 187–196. Springer: Cham.
  16. Dulhare, U. N. (2018). Prediction system for heart disease using Naive Bayes and particle swarm optimization. Biomedical Research, 29(12), 2646–2649.
  17. Karthiga, A. S., Mary, M. S., & Yogasini, M. (2017). Early prediction of heart disease using decision tree algorithm. International Journal of Advanced Research in Basic Engineering Sciences and Technology (IJARBEST), 3(3), 1-17.
  18. Dangare, C. & Apte, S. (2012). A data mining approach for prediction of heart disease using neural networks. International Journal of Computer Engineering and Technology (IJCET), 3(3), 30-40.
  19. Gopika, N., & ME, A. M. K. (2018, October). Correlation based feature selection algorithm for machine learning. In 2018 3rd International Conference on Communication and Electronics Systems (ICCES), (pp. 692-695). IEEE.
  20. Dev, S., Savoy, F. M., Lee, Y. H., & Winkler, S. (2017, September). Nighttime sky/cloud image segmentation. In 2017 IEEE International Conference on Image Processing (ICIP) (pp. 345-349). IEEE.
  21. Fedesoriano (September 2021). Heart failure prediction dataset. Retrieved from https://www.kaggle.com/fedesoriano/heart-failure-prediction
  22. Sharma, H., Kumar, P., & Sharma, K. (2023, February). Identification of device type using transformers in heterogeneous internet of things traffic. In International Conference on Innovative Computing and Communication (pp. 471-481). Singapore: Springer Nature Singapore.
  23. Srivastava, A. & Ahmad, P. (2016). A probabilistic gossip-based secure protocol for unstructured P2P networks. Procedia Computer Science, 78, 595-602. Retrieved from 10.1016/j.procs.2016.02.122.
  24. Dubey, R., Bharadwaj, S., Zafar, I. & Biswas, S. (2021). GIS mapping of short-term noisy event of diwali night in Lucknow city. ISPRS International Journal of Geo-information, 11(1), 25.
  25. Srivastava, A., Umrao, S., Biswas, S. & Dubey, R. (2023). FCCC: Forest cover change calculator user interface for identifying fire incidents in forest region using satellite data. International Journal of Advanced Computer Science and Applications, 14(7), 948–959.
  26.  Srivastava, A., Shruti, B., Dubey, R. & Sharma, V. B. (2022). Mapping vegetation and measuring the performance of machine learning algorithm in lulc classification in the large area using Sentinel-2 and Landsat-8 datasets of dehradun as a test case. Retrieved from  DOI: 10.5194/isprs-archives-XLIII-B3-2022-529-2022.
Abstract Views: 4
PDF Views: 100

Related Articles
Effective Detection of Heart Disease Symptoms using Machine Learning
Gunji JaiSadhashiva, Shaik Mohammad Mohaboob Shareef, Devarakonda Aditya, Leela Venkat Muppavarapu, Dr. Senthil Athithan, Dr. B. Suneetha
Hashtag investor – Perception Analysis with Relation to Geographical Location in Twitter
Samitha Kolambage, Hasath Tillekeratne, Niroshan Chathuranga, Hasanthi Devendra, Muditha Tissera Prince
Applications of AI in Prosthetics: A critical Analysis
Sudeep Varshney, Amrit Suman, Gunajn Varshney, Preetam Suman
Credit Default Prediction System Using Machine Learning
Hassan J. Bature, Daniel D. Wisdom, Tolulope T. Dufuwa, Isaac O. Ayetuoma

By continuing to use this website, you consent to the use of cookies in accordance with our Cookie Policy.