top of page

Prediction of heart attack risk using logistic regression and artificial neural networks

Alice Lin

Issue:
Vol. 1 No. 1 (2023)
Date Published: 
05-06-2023
Keywords: 
Feature Importance, Machine Learning, Cardiovascular Disease

ABSTRACT

Cardiovascular diseases are highly prevalent around the world, making heart attacks one of the leading causes of death. Being able to accurately predict heart attacks before they happen could help decrease the fatality rate of heart attacks, as well as decrease the number of heart attacks that occur. Because of the limitations of human time and focus, machine learning has been utilized to attempt to find new ways of prediction. This study uses two machine learning techniques, logistic regression and an artificial neural network, in order to build a model to predict the probability someone has of experiencing a heart attack. The dataset contained 13 different features, each a different piece of medical information about a certain patient. These features were then used to predict the probability of the patient getting a heart attack. In addition to building a model for prediction, this study also attempts to evaluate the different features of the dataset and compare the importance of each feature to the overall prediction. The correlation between each feature and the overall prediction was examined. Moreover, each feature was also compared with the rest to find the difference in influence the features had on the overall prediction of the model. The results of this study show that the logistic regression model and artificial neural network model share a similar accuracy, with both models reaching an overall accuracy of 84%.

AUTHOR BIOGRAPHY

Alice Lin is a junior at Noble and Greenough High School. She is the co-leader of the Coding Club at her school, where she is able to explore her curiosity about computer science. In order to connect learning to real-world applications, she explored topics in the area of machine learning and artificial intelligence. She used research projects to further explore this topic area, and learn how to apply it to situations that affect the world.

Affiliation: Noble and Greenough High School

COPYRIGHT

Copyright (c) 2023 Alice Lin
bottom of page