Skip to main content

Analyzing the Effectiveness of Several Machine Learning Methods for Heart Attack Prediction

  • Conference paper
  • First Online:
Proceedings of the Fourth International Conference on Trends in Computational and Cognitive Engineering

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 618))

Abstract

Heart attack or heart failure cases are rising quickly each day, thus it is crucial and worrisome to anticipate any problems in advance. A heart attack is a significant medical emergency that happens when the blood circulation to the heart is abruptly clogged, normally by a blood clot. For the prevention and treatment of heart failure, an accurate and prompt identification of heart disease is essential. Traditional medical history has been criticized for not being a trustworthy method of diagnosing heart disease in many ways. Machine learning techniques are effective and reliable for classifying healthy individuals from heart attack risk factors. This study proposes a model based on machine learning methods such as decision trees, random forests, neural networks, voting, gradient boosting, and logistic regression using a dataset from the UCI repository that incorporates numerous heart disease-related variables. The aim of this paper is to foresee the probability of a heart attack or failure in patients. According to the results, the gradient boosting approach exhibits the best performance in terms of accuracy, precision, recall, specificity, and f1-score. Decision tree, random forest, voting, and gaussian naive Bayes also have shown good performance.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 219.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 279.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Ahmed, Hager, et al. (2020) Heart disease identification from patients’ social posts, machine learning solution on Spark. Futur Gener Comput Syst 111: 714–722.

    Google Scholar 

  2. Mohd Amiruddin, Ahmad Azharuddin Azhari, et al. (2020) Neural network applications in fault diagnosis and detection: an overview of implementations in engineering-related systems. Neural Comput Appl 32.2 447–472

    Google Scholar 

  3. Al Badarin, Firas J, Saurabh Malhotra. (2019) Diagnosis and prognosis of coronary artery disease with SPECT and PETCurr Cardiol Rep 21.7: 1–11

    Google Scholar 

  4. Budholiya, Kartik, Shailendra Kumar Shrivastava, Vivek Sharma (2020) An optimized XGBoost based diagnostic system for effective prediction of heart disease. J King Saud Univ-Comput Inf Sci

    Google Scholar 

  5. Bui AL, Horwich TB, Fonarow GC (2011) Epidemiology and risk profile of heart failure. Nat Rev Cardiol 8(1):30–41

    Article  Google Scholar 

  6. David H, Antony Belcy S (2018) Heart disease prediction using data mining techniques. ICTACT J. Soft Comput 9.1

    Google Scholar 

  7. Desai, Shrinivas D et al. (2019) Back-propagation neural network versus logistic regression in heart disease classification. Adv Comput Commun Technol. Springer, Singapore. 133–144

    Google Scholar 

  8. Dibben Grace et al. (2021) Exercise‐based cardiac rehabilitation for coronary heart disease. Cochrane Database Syst Rev 11

    Google Scholar 

  9. Faruqui, Nuruzzaman, et al. (2021) LungNet: A hybrid deep-CNN model for lung cancer diagnosis using CT and wearable sensor-based medical IoT data. Comput Biol Med 139: 104961

    Google Scholar 

  10. Haq, Amin Ul et al. (2019) Heart disease prediction system using model of machine learning and sequential backward selection algorithm for features selection.In: 2019 IEEE 5th International Conference for Convergence in Technology (I2CT). IEEE

    Google Scholar 

  11. Heart disease and stroke statistics update fact sheet at-a-glance. (n.d.), https://professional.heart.org/en/science-news/-/media/8D840F1AA88D423888ED3BA96DD61010.ashx , last accessed 2022/08/05

  12. NHS Homepage, https://www.nhs.uk/conditions/heart-attack/, last accessed 2022/07/22

  13. Hossen, Rakib et al. (2021) BDPS: An efficient spark-based big data processing scheme for cloud Fog-IoT Orchestration. Information 12.12: 517

    Google Scholar 

  14. Ishaq, Abid, et al. (2021) Improving the prediction of heart failure patients’ survival using SMOTE and effective data mining techniques. IEEE access 9: 39707–39716

    Google Scholar 

  15. Jindal, Harshit, et al. (2021) Heart disease prediction using machine learning algorithms.In: IOP conference series: materials science and engineering. 1022(1). IOP Publishing

    Google Scholar 

  16. Kaggle, https://www.kaggle.com/datasets/rashikrahmanpritom/heart-attack-analysis-prediction-dataset, last accessed 2022/07/22

  17. Khourdifi Y, Bahaj M (2019) Heart disease prediction and classification using machine learning algorithms optimized by particle swarm optimization and ant colony optimization. Int J Intell Eng Syst 12(1):242–252

    Google Scholar 

  18. Van Klompenburg, Thomas, Ayalew Kassahun, Cagatay Catal (2020) Crop yield prediction using machine learning: A systematic literature review. Comput Electron Agric 177: 105709

    Google Scholar 

  19. Minou, John, et al. (2020) Classification techniques for cardio-vascular diseases using supervised machine learning.“ Medical Archives 74.1: 39

    Google Scholar 

  20. Phasinam, Khongdet, et al. (2022) Analyzing the performance of machine learning techniques in disease prediction. J Food Qual 2022

    Google Scholar 

  21. Plati, Dafni K, et al. (2021) A machine learning approach for chronic heart failure diagnosis. Diagnostics 11.10: 1863

    Google Scholar 

  22. Rani, Pooja, Rajneesh Kumar, Anurag Jain (2021) Multistage model for accurate prediction of missing values using imputation methods in heart disease dataset. Innov Data Commun Technol Appl. Springer, Singapore. 637–653

    Google Scholar 

  23. Sagar, Shuvashish Paul, et al. (2021) PRCMLA: Product review classification using machine learning algorithms. In: Proceedings of International Conference on Trends in Computational and Cognitive Engineering. Springer, Singapore

    Google Scholar 

  24. Shah, Devansh, Samir Patel, Santosh Kumar Bharti (2020) Heart disease prediction using machine learning techniques. SN Comput Sci 1.6: 1–6

    Google Scholar 

  25. Ullah, Farhat, et al. (2022) An efficient machine learning model based on improved features selections for early and accurate heart disease predication. Comput Intell Neurosci 2022

    Google Scholar 

  26. Whaiduzzaman, Md, et al. (2020) AUASF: An anonymous users authentication scheme for fog-IoT environment. In: 2020 11th International Conference on Computing, Communication and Networking Technologies (ICCCNT). IEEE

    Google Scholar 

  27. Whaiduzzaman, Md, et al. (2021) HIBAF: A data security scheme for fog computing. J High Speed Netw Preprint: 1–22

    Google Scholar 

  28. Zhang Y, Haghani A (2015) A gradient boosting method to improve travel time prediction. Transp Res Part C: Emerg Technol 58:308–324

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Khondokar Oliullah .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Oliullah, K., Barros, A., Whaiduzzaman, M. (2023). Analyzing the Effectiveness of Several Machine Learning Methods for Heart Attack Prediction. In: Kaiser, M.S., Waheed, S., Bandyopadhyay, A., Mahmud, M., Ray, K. (eds) Proceedings of the Fourth International Conference on Trends in Computational and Cognitive Engineering. Lecture Notes in Networks and Systems, vol 618. Springer, Singapore. https://doi.org/10.1007/978-981-19-9483-8_19

Download citation

Publish with us

Policies and ethics