Heart Attack Risk Prediction Application Using Ensemble Model

The heart plays an important role in providing oxygen throughout the body and cleaning metabolic products. Despite its important role, the heart is the main cause of death in the world due to poor lifestyle, genetic factors and aging. This research applies a classification method with an ensemble model to increase prediction accuracy values. The Ensemble Model is a machine learning technique that enable the prediction of cardiac disease by the combination of basic models. Through the process of data comprehension, data preparation, and subsequent modeling, the Random Forest model was derived as the most optimal model for predicting heart disease. Several base models were employed in the experiment, including Logistic Regression, Random Forest, Decision Tree, K-Nearest Neighbours (KNN), and Support Vector Machine (SVM). The results indicate that Logistic Regression obtained an accuracy of 84% and Random Forest achieved 90%. Decision Tree 86%, KNN 89%, SVM 84%, and Stacking Classifier which combines the base model and uses Logistic Regression as a meta model achieved an accuracy of 86%. Performance evaluation shows that the Random Forest model provides the best performance with 90% accuracy. Key words — Heart Disease Prediction; Machine Learning; Ensemble Model; Random Forest Abstrak — Jantung memiliki fungsi vital dalam menyuplai oksigen ke seluruh tubuh dan mengeliminasi produk-produk metabolisme. Meskipun vital, penyakit jantung merupakan penyebab utama kematian global, yang terpengaruh oleh gaya hidup yang kurang sehat, faktor genetika, dan proses penuaan. Studi ini mengadopsi metode klasifikasi menggunakan model ensemble untuk meningkatkan akurasi prediksi penyakit jantung. Model ensemble, sebagai teknik dalam pembelajaran mesin, menawarkan pendekatan yang efektif untuk prediksi penyakit jantung dengan menggabungkan base model. Dimulai dari data understanding, data preprocessing dan kemudian dilanjutkan pemodelan, didapatkan model Random Forest yang menjadi model terbaik untuk memprediksi penyakit jantung. Dari hasil eksperimen digunakan beberapa base model seperti Logistic Regression, Random Forest, Decision Tree, K-Nearest Neighbors (KNN) dan Support Vector Machine (SVM) dengan hasil menunjukkan bahwa model Logistic Regression mencapai akurasi 84%, Random Forest 90%, Decision Tree 86%, KNN 89%, SVM 84%, dan Stacking Classifier yang menggabungkan base model dan menggunakan Logistic Regression sebagai meta model mencapai akurasi sebesar 86%. Evaluasi performa menunjukkan bahwa model Random Forest memberikan performa terbaik dengan akurasi 90%. Kata kunci — Prediksi Penyakit Jantung; Machine Learning; Ensemble Model; Random Forest.

Authors

Institutions

Publication Details

Journal
E-JOURNAL TEKNIK ELEKTRO DAN KOMPUTER
Published
2026-11-27
DOI
https://doi.org/10.35793/v3rqmy34
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

Heart Attack Risk Prediction Application Using Ensemble Model

Agustinus Jacobus, Oktavian Abraham Lantang, Angelique Rapar
E-JOURNAL TEKNIK ELEKTRO DAN KOMPUTER
Artificial Intelligence in Healthcare
article

Heart Attack Risk Prediction Application Using Ensemble Model

Agustinus Jacobus, Oktavian Abraham Lantang, Angelique Rapar
article en

Abstract

The heart plays an important role in providing oxygen throughout the body and cleaning metabolic products. Despite its important role, the heart is the main cause of death in the world due to poor lifestyle, genetic factors and aging. This research applies a classification method with an ensemble model to increase prediction accuracy values. The Ensemble Model is a machine learning technique that enable the prediction of cardiac disease by the combination of basic models. Through the process of data comprehension, data preparation, and subsequent modeling, the Random Forest model was derived as the most optimal model for predicting heart disease. Several base models were employed in the experiment, including Logistic Regression, Random Forest, Decision Tree, K-Nearest Neighbours (KNN), and Support Vector Machine (SVM). The results indicate that Logistic Regression obtained an accuracy of 84% and Random Forest achieved 90%. Decision Tree 86%, KNN 89%, SVM 84%, and Stacking Classifier which combines the base model and uses Logistic Regression as a meta model achieved an accuracy of 86%. Performance evaluation shows that the Random Forest model provides the best performance with 90% accuracy. Key words — Heart Disease Prediction; Machine Learning; Ensemble Model; Random Forest Abstrak — Jantung memiliki fungsi vital dalam menyuplai oksigen ke seluruh tubuh dan mengeliminasi produk-produk metabolisme. Meskipun vital, penyakit jantung merupakan penyebab utama kematian global, yang terpengaruh oleh gaya hidup yang kurang sehat, faktor genetika, dan proses penuaan. Studi ini mengadopsi metode klasifikasi menggunakan model ensemble untuk meningkatkan akurasi prediksi penyakit jantung. Model ensemble, sebagai teknik dalam pembelajaran mesin, menawarkan pendekatan yang efektif untuk prediksi penyakit jantung dengan menggabungkan base model. Dimulai dari data understanding, data preprocessing dan kemudian dilanjutkan pemodelan, didapatkan model Random Forest yang menjadi model terbaik untuk memprediksi penyakit jantung. Dari hasil eksperimen digunakan beberapa base model seperti Logistic Regression, Random Forest, Decision Tree, K-Nearest Neighbors (KNN) dan Support Vector Machine (SVM) dengan hasil menunjukkan bahwa model Logistic Regression mencapai akurasi 84%, Random Forest 90%, Decision Tree 86%, KNN 89%, SVM 84%, dan Stacking Classifier yang menggabungkan base model dan menggunakan Logistic Regression sebagai meta model mencapai akurasi sebesar 86%. Evaluasi performa menunjukkan bahwa model Random Forest memberikan performa terbaik dengan akurasi 90%. Kata kunci — Prediksi Penyakit Jantung; Machine Learning; Ensemble Model; Random Forest.

E-JOURNAL TEKNIK ELEKTRO DAN KOMPUTERVol. 15(3)
Sam Ratulangi University (ID)
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