Coronary heart disease (CHD) is the primary cause of silent and noncommunicable deaths. Early detection is essential for slowing the progression of death and saving lives. Medical researchers use machine learning techniques to predict CHD. This article proposes an accuracy based-stacked ensemble learning (AB-SEL) model to predict CHD while minimizing computational time (CT). The dataset undergoes the logistic regression recursive feature elimination (LR-RFE) method to identify the important features. The three strong classifiers, logistic regression (LR), random forest (RF), and AdaBoost, are chosen to build ensemble machine-learning models, including techniques like bagging, majority voting, and stacking, for the Cleveland dataset accessible from Kaggle. Data scaling was done using the normal scalar method, and hyperparameter optimization was done using random search and grid search. Effectiveness is measured by accuracy, precision, recall, F1 score, and CT is validated through 5-fold cross-validation. The suggested approach achieved a 90.16% accuracy rate, required only 0.2 seconds of CT, and yielded an area under the curve (AUC) of 0.892.
Copyrights © 2024