Predicting heart attack risk using machine learning and multivariate analysis

Heart diseases remain the leading cause of mortality worldwide, highlighting the urgent need for accurate, early risk prediction models. Machine learning (ML) has emerged as a powerful approach for analyzing complex healthcare data and supporting clinical decision-making. This study presents a comprehensive machine learning framework for heart disease risk prediction by combining Exploratory Data Analysis (EDA), multivariate statistical techniques, and advanced classification algorithms. The analysis is performed on a large-scale publicly available dataset containing demographic, lifestyle, and clinical features. After thorough data cleaning, missing value imputation, and feature encoding, several machine learning models were developed and evaluated, including K-Nearest Neighbors, Logistic Regression, XGBoost, and Extra Trees Classifier. Results demonstrate high overall accuracy (up to 94.54%), with the XGBoost model achieving the best balance between precision and recall. However, all models exhibited notably low recall for the positive class due to severe class imbalance. The study emphasizes the critical role of proper preprocessing, imbalance-handling strategies, and the integration of statistical analysis with machine learning to enhance model reliability and clinical applicability.

Authors

Publication Details

Journal
Annual of Sofia University St Kliment Ohridski Faculty of Mathematics and Informatics
Published
2026-12-03
DOI
https://doi.org/10.60063/gsu.fmi.113.69-82
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
NOV
article

Predicting heart attack risk using machine learning and multivariate analysis

Snezana Savoska, Anita Petreska, Blagoj Ristevski, Andrijana Bocevska
Annual of Sofia University St Kliment Ohridski Faculty of Mathematics and Informatics
Artificial Intelligence in Healthcare
article

Predicting heart attack risk using machine learning and multivariate analysis

Snezana Savoska, Anita Petreska, Blagoj Ristevski, Andrijana Bocevska
article en

Abstract

Heart diseases remain the leading cause of mortality worldwide, highlighting the urgent need for accurate, early risk prediction models. Machine learning (ML) has emerged as a powerful approach for analyzing complex healthcare data and supporting clinical decision-making. This study presents a comprehensive machine learning framework for heart disease risk prediction by combining Exploratory Data Analysis (EDA), multivariate statistical techniques, and advanced classification algorithms. The analysis is performed on a large-scale publicly available dataset containing demographic, lifestyle, and clinical features. After thorough data cleaning, missing value imputation, and feature encoding, several machine learning models were developed and evaluated, including K-Nearest Neighbors, Logistic Regression, XGBoost, and Extra Trees Classifier. Results demonstrate high overall accuracy (up to 94.54%), with the XGBoost model achieving the best balance between precision and recall. However, all models exhibited notably low recall for the positive class due to severe class imbalance. The study emphasizes the critical role of proper preprocessing, imbalance-handling strategies, and the integration of statistical analysis with machine learning to enhance model reliability and clinical applicability.

Annual of Sofia University St Kliment Ohridski Faculty of Mathematics and InformaticsVol. 113
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.

Laika access coming soon