Indonesian Journal of Applied Technology and Innovation Science
Vol. 3 No. 1 (2026): IJATIS February 2026

Comparative Analysis of Machine Learning Algorithms for Predicting Heart Attack

Tsaqif, Habib Ahmad (Unknown)
Kirana, Dimas Indra (Unknown)
Fariski, Eka Efa (Unknown)



Article Info

Publish Date
18 Mar 2026

Abstract

Early detection of heart attack risk is crucial for reducing mortality rates associated with cardiovascular diseases. This study aims to perform a comparative performance analysis of four machine learning algorithms: Decision Tree, Random Forest (RF), Support Vector Machine (SVM), and Extreme Gradient Boosting (XGBoost) in classifying heart attack risk using a clinical dataset from Kaggle. The research methodology includes data preprocessing, data splitting using a 70:30 hold-out scheme, and model evaluation through a confusion matrix and standard classification metrics. The test results indicate that Random Forest provides the superior performance with the highest accuracy of 84%. Meanwhile, the SVM and XGBoost algorithms achieved 80% accuracy each, while the Decision Tree achieved the lowest at 70%. These findings confirm that ensemble-based models like Random Forests exhibit greater stability in handling complex clinical data patterns, making them highly promising for integration into early heart health warning systems.

Copyrights © 2026






Journal Info

Abbrev

ijatis

Publisher

Subject

Computer Science & IT Control & Systems Engineering Electrical & Electronics Engineering Engineering

Description

IJATIS: Indonesian Journal of Applied Technology and Innovation Science is a scientific journal published by the Institute of Research and Publication Indonesian (IRPI). The main focus of the IJATIS Journal is Engineering, Applied Technology, Informatics Engineering, and Computer Science. IJATIS is ...