A Machine Learning Approach for Heart Attack Prediction
Suraj Kumar Gupta1, Aditya Shrivastava2, S. P. Upadhyay3, Pawan Kumar Chaurasia4

1Suraj Kumar Gupta, Student, Pursuing B.Tech., Department of Computer Science Engineering, Mahatma Gandhi Central University, Motihari (Bihar), India.
2Aditya Shrivastava, Student, Pursuing B.Tech., Department of Computer Science and Engineering, Mahatma Gandhi Central University, Motihari (Bihar), India.
3Satya Prakash Upadhyay, Registrar, Central University Gujarat, India.
4Pawan Kumar Chaurasia*, Associate Professor, Department of Computer Science and Information Technology, Mahatma Gandhi Central University, Motihari (Bihar), India
Manuscript received on August 04, 2021. Revised Manuscript received on August 20, 2021. Manuscript published on August 30, 2021.| PP: 124-134 | Volume-10 Issue-6, August 2021 | Retrieval Number: 100.1/ijeat.F30430810621 | DOI: 10.35940/ijeat.F3043.0810621
Open Access | Ethics and  Policies | Cite
© The Authors. Blue Eyes Intelligence Engineering and Sciences Publication (BEIESP). This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/)

Abstract: A heart attack also known as cardiac arrest, diversify various conditions impacting the heart and became one of the chief-reason for death worldwide over the last few decades. Approximately, 31% of total deaths globally are due to CVDs. It constitutes the pinnacle of chronic processes which involve complex interactions between risk factors which can and cannot be improved. Most of the instances or cases of cardiovascular diseases can be allocated to revisable risk factors where most of the instances are considered preventable. ML became the enhancing approach for the evolution of predictive models in health care industries and was decided to test various algorithms to check what extent their prediction scores estimate or ameliorate upon the results acquired. Researchers deploy various machine learning and data mining techniques over a set of enormous data of cardiovascular patients to attain the prediction for heart attacks before their occurrence for helping healthcare industries and professionals. This research comprises various Supervised ML classifiers like, Gradient Boosting, Decision Tree, Random Forest and Logistic Regression that have been used to deploy a model for Myocardial Infarction prediction. It uses the existing datasets from the Framingham database and others from the database of the UCI Heart repository. This research intends to ideate the prediction for probabilities of occurrence of a heart attack in the patients. These classifiers have been deployed in pipeline approach of machine learning to attain the prediction using both ways i.e., without optimizations and feature transformations as well as vice-versa. The results impersonate that the Gradient Boosting classifier is achieving the highest accuracy score in such a way that prediction used by our model is of binary form in where 1 means a chance of heart attack and 0 means no chance. Some of the most influential attributes are chest pain type among which the typical angina is the most influential and asymptotic chest pain is least, cholesterol level in which the level greater than 200mg/dl are more prone, increased heart rate, thal, and age. It is concluded that premature heart attack is preventable in 80% of the total cases just by using a healthy diet along with regular exercises and not using tobacco products also the person who drinks more than 5 glasses of water daily are less likely to develop attacks.
Keywords: Diversify various conditions, Gradient Boosting, Decision Tree, vice-versa