Heart Attack Risk Prediction via Stacked Ensemble Metamodeling: A Machine Learning Framework for Real-Time Clinical Decision Support
Authors:
- Brandon N. Nava-MartinezBNBrandon N. Nava-Martinez
- Sahid S. Hernandez-HernandezSHSahid S. Hernandez-Hernandez
- Denzel A. Rodriguez-RamirezDRDenzel A. Rodriguez-Ramirez
- Jose L. Martinez-RodriguezJMJose L. Martinez-Rodriguez
- Ana B. Rios-AlvaradoARAna B. Rios-Alvarado
- Alan Diaz-ManriquezADAlan Diaz-Manriquez
- Jose R. Martinez-AnguloJMJose R. Martinez-Angulo
- Tania Y. Guerrero-MelendezTGTania Y. Guerrero-Melendez
Open Access
- 11 October 2025
- journal article
- research article
- Published by MDPI AG in Informatics
- Vol. 12 (4) , 110
Abstract
Cardiovascular diseases claim millions of lives each year, yet timely diagnosis remains a significant challenge due to the high number of patients and associated costs. Although various machine learning solutions have been proposed for this problem, most approaches rely on careful data preprocessing and feature engineering workflows that could benefit from more comprehensive documentation in research publications. To address this issue, this paper presents a machine learning framework for predicting heart attack risk online. Our systematic methodology integrates a unified pipeline featuring advanced data preprocessing, optimized feature selection, and an exhaustive hyperparameter search using cross-validated grid evaluation. We employ a metamodel ensemble strategy, testing and combining six traditional supervised models along with six stacking and voting ensemble models. The proposed system achieves accuracies ranging from 90.2% to 98.9% on three independent clinical datasets, outperforming current state-of-the-art methods. Additionally, it powers a deployable, lightweight web application for real-time decision support. By merging cutting-edge AI with clinical usability, this work offers a scalable solution for early intervention in cardiovascular care.Keywords
This publication has 45 references indexed in Scilit:
- Early heart disease prediction using feature engineering and machine learning algorithmsHeliyon, 2024
- An Ensemble-Based Extra Feature Selection Approach for Predicting Heart Disease2024
- An outliers detection and elimination framework in classification task of data miningDecision Analytics Journal, 2023
- Logistic regression technique for prediction of cardiovascular diseaseGlobal Transitions Proceedings, 2022
- Ensemble framework for cardiovascular disease predictionComputers in Biology and Medicine, 2022
- Impact of machine-learning-based coronary computed tomography angiography–derived fractional flow reserve on decision-making in patients with severe aortic stenosis undergoing transcatheter aortic valve replacementEuropean Radiology, 2022
- Machine Learning for Practical Decision Making2022
- Ensemble Methods for Heart Disease PredictionNew Generation Computing, 2021
- An improved ensemble learning approach for the prediction of heart disease riskInformatics in Medicine Unlocked, 2020
- Machine learning-based coronary artery disease diagnosis: A comprehensive reviewComputers in Biology and Medicine, 2019