Heart Attack Classification with a Machine Learning Approach Based on the Random Forest Algorithm
Balkan Journal of Electrical and Computer Engineering · 30.06.2025 · 13 (2) · 140-147
DOI: 10.17694/bajece.1691905 ↗Kurz gefasst
Fachartikel in der Zeitschrift Balkan Journal of Electrical and Computer Engineering, online erschienen am 30.06.2025. Verfasst von Süleyman Dal und 1 weiteren Autor:innen. Die Arbeit wurde bisher 2-mal zitiert (Crossref) und nennt 37 Literaturangaben. Gefördert von: "No funding.
Abstract (Originalsprache)
Heart attack diagnosis delays constitute a critical health problem that increases the risk of mortality. Timely and accurate identification of cardiac events is therefore essential to improve patient outcomes and reduce preventable deaths. This study aims to develop a random forest based classification model using the Heart Disease Classification dataset published on the Kaggle platform to support early diagnosis. This dataset consists of 1319 samples and 8 demographic, clinical and biochemical features for the diagnosis of heart disease. To evaluate the model’s reliability and generalizability, a 10-fold cross-validation technique was employed. Through this method, each data instance contributed to both training and testing phases, enabling a more stable and robust performance assessment. This approach also reduced the risk of overfitting and ensured more representative evaluation metrics. The performance of the model was evaluated with ROC curve, training-validation curves, confusion matrix. In the evaluation process, especially in Fold 6, 100% accuracy, precision, recall and F1 score were obtained and it was revealed that the model showed superior performance in the classification task. In addition, as a result of the feature importance analysis, it was determined that troponin, potassium (kcm) and age variables came to the forefront in the decision process. This study aims to fill an important gap in the literature in terms of both strong classification performance and interpretability in the field of machine learning models for heart attack diagnosis.
Förderung
- "No funding
Zitieren
APA
Dal, S., & Sezgin, N. (2025). Heart Attack Classification with a Machine Learning Approach Based on the Random Forest Algorithm. Balkan Journal of Electrical and Computer Engineering, 13(2), 140-147. https://doi.org/10.17694/bajece.1691905
Vancouver
Dal S, Sezgin N. Heart Attack Classification with a Machine Learning Approach Based on the Random Forest Algorithm. Balkan Journal of Electrical and Computer Engineering. 2025;13(2):140-147. doi:10.17694/bajece.1691905
BibTeX
@article{Dal2025,
author = {Dal, Süleyman and Sezgin, Necmettin},
title = {Heart Attack Classification with a Machine Learning Approach Based on the Random Forest Algorithm},
journal = {Balkan Journal of Electrical and Computer Engineering},
year = {2025},
volume = {13},
number = {2},
pages = {140--147},
doi = {10.17694/bajece.1691905}
}
EUVIMED