Preprint / Version 1

Predicting the Chance of Heart Attack with a Machine Learning Approach – Supervised Learning

##article.authors##

  • Lanting Zhu Centennial High School

Keywords:

Machine Learning, Supervised Learning, Predict Heart Attack

Abstract

Machine learning is a multidisciplinary field combining statistics, computer science and artificial intelligence. This research finds a way to use machine learning to predict the chance of heart attack based on information about the patient. There are 13 features collected about each patient which are age, sex, cholesterol, chest pain type, maximum heart rate achieved, resting blood pressure, resting electrocardiographic results, fasting blood sugar, exercise-induced angina, previous peak, slope, number of major blood vessels, and thalassemia. The information of all the patients is put into a dataset. The dataset is split into two sets, one for training and another for validation. A computer model using a supervised learning algorithm is developed and trained to predict the chance of heart attack. During training, the training set is used for training the model, while the validation set is used for evaluating the accuracy of the model.

References or Bibliography

Müller, A. & Guido, S. (2016). Introduction to Machine Learning with Python. O'Reilly Media, Inc.

Burkov, A. (2019). The Hundred-Page Machine Learning Book. Andriy Burkov.

Chowdhury, Muhammad E. H., Alzoubi, K., Khandakar, A., Khallifa, R., Abouhasera, R., Koubaa, S., Ahmed, R., & Hasan, M. (2019) Wearable Real-Time Heart Attack Detection and Warning System to Reduce Road Accidents. Sensors. https://doi.org/10.3390/s19122780

Kaggle. https://www.kaggle.com/datasets/rashikrahmanpritom/heart-attack-analysis-prediction-dataset?select=heart.csv

Downloads

Posted

09-16-2022