Araştırma Makalesi

Heart Attack Classification with a Machine Learning Approach Based on the Random Forest Algorithm

Cilt: 13 Sayı: 2 30 Haziran 2025
PDF İndir
EN TR

Heart Attack Classification with a Machine Learning Approach Based on the Random Forest Algorithm

Öz

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.

Anahtar Kelimeler

Destekleyen Kurum

"No funding

Etik Beyan

This study was originally prepared by the author(s) and conducted in accordance with ethical principles. There is no plagiarism, data manipulation, or other ethical misconduct.

Kaynakça

  1. [1] H. F. El-Sofany, "Predicting heart diseases using machine learning and different data classification techniques," IEEE Access, 2024.
  2. [2] H. G. Enad and M. A. Mohammed, "Cloud computing-based framework for heart disease classification using quantum machine learning approach," Journal of Intelligent Systems, vol. 33, no. 1, p. 20230261, 2024.
  3. [3] T. A. Gaziano, A. Bitton, S. Anand, S. Abrahams-Gessel, and A. Murphy, "Growing epidemic of coronary heart disease in low-and middle-income countries," Current problems in cardiology, vol. 35, no. 2, pp. 72-115, 2010.
  4. [4] C. Gupta, A. Saha, N. S. Reddy, and U. D. Acharya, "Cardiac Disease Prediction using Supervised Machine Learning Techniques," in Journal of physics: conference series, 2022, vol. 2161, no. 1: IOP Publishing, p. 012013.
  5. [5] A. K. Dubey, A. K. Sinhal, and R. Sharma, "Heart disease classification through crow intelligence optimization-based deep learning approach," International Journal of Information Technology, vol. 16, no. 3, pp. 1815-1830, 2024.
  6. [6] R. Rajkumar, K. Anandakumar, and A. Bharathi, "Coronary artery disease (CAD) prediction and classification-a survey," Breast Cancer, vol. 90, p. 94.35, 2006.
  7. [7] P. Rani et al., "An extensive review of machine learning and deep learning techniques on heart disease classification and prediction," Archives of Computational Methods in Engineering, vol. 31, no. 6, pp. 3331-3349, 2024.
  8. [8] I. H. Sarker, "Machine learning: Algorithms, real-world applications and research directions," SN computer science, vol. 2, no. 3, p. 160, 2021.

Ayrıntılar

Birincil Dil

İngilizce

Konular

Elektrik Mühendisliği (Diğer)

Bölüm

Araştırma Makalesi

Erken Görünüm Tarihi

11 Temmuz 2025

Yayımlanma Tarihi

30 Haziran 2025

Gönderilme Tarihi

5 Mayıs 2025

Kabul Tarihi

15 Mayıs 2025

Yayımlandığı Sayı

Yıl 2025 Cilt: 13 Sayı: 2

Kaynak Göster

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
AMA
1.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
Chicago
Dal, Süleyman, ve Necmettin Sezgin. 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-47. https://doi.org/10.17694/bajece.1691905.
EndNote
Dal S, Sezgin N (01 Haziran 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.
IEEE
[1]S. Dal ve N. Sezgin, “Heart Attack Classification with a Machine Learning Approach Based on the Random Forest Algorithm”, Balkan Journal of Electrical and Computer Engineering, c. 13, sy 2, ss. 140–147, Haz. 2025, doi: 10.17694/bajece.1691905.
ISNAD
Dal, Süleyman - Sezgin, Necmettin. “Heart Attack Classification with a Machine Learning Approach Based on the Random Forest Algorithm”. Balkan Journal of Electrical and Computer Engineering 13/2 (01 Haziran 2025): 140-147. https://doi.org/10.17694/bajece.1691905.
JAMA
1.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:140–147.
MLA
Dal, Süleyman, ve Necmettin Sezgin. “Heart Attack Classification with a Machine Learning Approach Based on the Random Forest Algorithm”. Balkan Journal of Electrical and Computer Engineering, c. 13, sy 2, Haziran 2025, ss. 140-7, doi:10.17694/bajece.1691905.
Vancouver
1.Süleyman Dal, Necmettin Sezgin. Heart Attack Classification with a Machine Learning Approach Based on the Random Forest Algorithm. Balkan Journal of Electrical and Computer Engineering. 01 Haziran 2025;13(2):140-7. doi:10.17694/bajece.1691905

Cited By

All articles published by BAJECE are licensed under the Creative Commons Attribution 4.0 International License. This permits anyone to copy, redistribute, remix, transmit and adapt the work provided the original work and source is appropriately cited.Creative Commons Lisans