Predicting Heart Attack Risk Using Machine Learning: A Comparative Study of Logistic Regression and Random Forest Algorithms

<p><span>Accurately predicting heart attacks using machine learning algorithms represents a significant advancement in medical diagnostics, enabling enhanced early detection and preventive strategies. This study focuses on developing and evaluating predictive models based on Logistic Regression and Random Forest algorithms to identify individuals at high risk of heart attacks. Utilisng a comprehensive dataset containing critical features such as age, gender, blood pressure, cholesterol levels, and other clinical indicators, the models were trained and validated through a robust data-splitting methodology. Logistic Regression was employed to analyse linear relationships between predictors and heart attack likelihood, providing interpretable coefficients highlighting each feature's significance. Additionally, Random Forest was utilised to capture complex, non-linear interactions among variables, aiming to improve predictive accuracy. This research incorporates 12 key medical parameters: age, sex, chest pain type, resting blood pressure, cholesterol levels, obesity, fasting blood sugar, resting electrocardiogram results, maximum heart rate, and exercise-induced angina. The findings demonstrate the potential of machine learning techniques to enhance heart disease risk prediction, contributing to more effective clinical decision-making and preventive care.</span></p>

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-03-06
DOI
https://doi.org/10.5281/zenodo.14978081
Primary Topic
Artificial Intelligence in Healthcare
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Predicting Heart Attack Risk Using Machine Learning: A Comparative Study of Logistic Regression and Random Forest Algorithms

Zenodo (CERN European Organization for Nuclear Research)
Artificial Intelligence in Healthcare
article

Predicting Heart Attack Risk Using Machine Learning: A Comparative Study of Logistic Regression and Random Forest Algorithms

article en

Abstract

<p><span>Accurately predicting heart attacks using machine learning algorithms represents a significant advancement in medical diagnostics, enabling enhanced early detection and preventive strategies. This study focuses on developing and evaluating predictive models based on Logistic Regression and Random Forest algorithms to identify individuals at high risk of heart attacks. Utilisng a comprehensive dataset containing critical features such as age, gender, blood pressure, cholesterol levels, and other clinical indicators, the models were trained and validated through a robust data-splitting methodology. Logistic Regression was employed to analyse linear relationships between predictors and heart attack likelihood, providing interpretable coefficients highlighting each feature's significance. Additionally, Random Forest was utilised to capture complex, non-linear interactions among variables, aiming to improve predictive accuracy. This research incorporates 12 key medical parameters: age, sex, chest pain type, resting blood pressure, cholesterol levels, obesity, fasting blood sugar, resting electrocardiogram results, maximum heart rate, and exercise-induced angina. The findings demonstrate the potential of machine learning techniques to enhance heart disease risk prediction, contributing to more effective clinical decision-making and preventive care.</span></p>

Zenodo (CERN European Organization for Nuclear Research)
Openalex Percentile: Top 47%
Artificial Intelligence in Healthcare
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Predicting Heart Attack Risk Using Machine Learning: A Comparative Study of Logistic Regression and Random Forest Algorithms · Zenodo (CERN European Organization for Nuclear Research) (2025) | TGRS Research Map | TGRS