Application of Decision Tree Method in ECG Signal Classification For Heart Disorder Detection


  • Jepri Banjarnahor
  • Friska Sinaga Universitas Prima Indonesia
  • Dedi Setiadi Sitorus
  • Wahyu Adventus Andreas Sitanggang
  • Mardi Turnip




Cardiovascular Disease, Coronary Heart Disease, Decision Tree, Electrocardiogram, Artificial Intelligence


Cardiovascular Disease (CVD) is a group of diseases that affect the heart and blood vessels, and it is the leading cause of death globally. In Indonesia, Coronary Heart Disease (CHD) is one of the most prevalent CVDs. However, due to the high cost of drugs, lengthy treatment duration, and various supporting examinations required, treating CHD can be very expensive. An obstacle to treating heart disease in Indonesia is the insufficient number of cardiologists and experts experienced in interventional cardiology. Along with technological developments, the computer science community is encouraged to contribute to the medical field. For instance, using an electrocardiogram (ECG) can help prevent and minimize problems arising from heart disease. An Electrocardiogram (ECG) is a medical test that measures and records the heart’s electrical activity using a machine that detects electrical impulses. The use of Artificial Intelligence (AI) in ECG is rapidly increasing and has shown to have great potential in improving the diagnosis and treatment of cardiac patients. AI has become a valuable tool in helping doctors diagnose, predict risk, and manage heart disease with greater accuracy, speed, and precision. One of the machine learning methods used in this research is the decision tree method, which is often employed to make decisions. The decision tree method exhibited promising results, with an accuracy rate of 99% in identifying heart defects at an early stage. This method has significant potential to assist doctors in diagnosing heart defects at an early stage with high accuracy.


GS Cited Analysis


Download data is not yet available.


Abdo Ahmed, A. A., Mohammed Al-Shami, A., Jamshed, S., Fata Nahas, A. R., & Mohamed Ibrahim, M. I. (2020). Public Awareness of and Action towards Heart Attack Symptoms: An Exploratory Study. International Journal of Environmental Research and Public Health, 17(23), 8982.

Afifah Usri, N., Wisudawan, K., & Nurmadilla, N., Irmayanti. (2022). Karakteristik Faktor Risiko Pasien Penyakit Jantung Koroner di Rumah Sakit Ibnu Sina Makassar Tahun 2020. FAKUMI MEDICAL JOURNAL, 2(9).

Anggreany, M. S. (2020). Confusion Matrix. https://socs. /2020/11/01/confusion-matrix/.

Azzouz, A., Bengherbia, B., Wira, P., Alaoui, N., Souahlia, A., Maazouz, M., & Hentabeli, H. (2024). An efficient ECG signals denoising technique based on the combination of particle swarm optimization and wavelet transform. Heliyon, e26171.

Basuki, Ahmad dan Syarif, Iwan. (2003). Decision Tree. Politeknik Electronika Negeri.

Bin, G., Shao, M., Bin, G., Huang, J., Zheng, D., & Wu, S. (2017). Detection of atrial fibrillation using decision tree ensemble. Computing in Cardiology, 44, 1–4.

Butler, L., Karabayir, I., Kitzman, D. W., Alonso, A., Tison, G. H., Chen, L. Y., Chang, P. P., Clifford, G., Soliman, E. Z., & Akbilgic, O. (2023). A generalizable electrocardiogram-based artificial intelligence model for 10-year heart failure risk prediction. Cardiovascular Digital Health Journal, 4(6), 183–190.

Gulati, R., Behfar, A., Narula, J., Kanwar, A., Lerman, A., Cooper, L., & Singh, M. (2020). Acute Myocardial Infarction in Young Individuals. In Mayo Clinic Proceedings, 95(1), 136–156.

Halodoc. (2022). Elektrokardiogram (EKG).

Larose, D. T. (2008). Data Mining: Methods and Models by D. T. Larose. Biometrics, 64(1), 316–316.

Martínez-Sellés, M., & Marina-Breysse, M. (2023). Current and Future Use of Artificial Intelligence in Electrocardiography. In Journal of Cardiovascular Development and Disease, 10(4).

MathWorks. . (n.d.) ROC Curve and Performance Metrics.

Moeyersons, J., Varon, C., Testelmans, D., Buyse, B., & van Huffel, S. (2017). ECG artefact detection using ensemble decision trees. Computing in Cardiology, 44, 1–4.

Prasetya Online. (2023). World Heart Day 2023: Use Heart Know Heart.

Rahayu, Indri & Purwanto, Bambang & Azis, Moh & Yogiarto, M. & Aryati, Aryati. (2021). Environmental Conditions and Sincerity Affects Cortisol and ?-Endorphins Plasma Levels in Young Healthy Subjects Undergoing Dawood’s Fast. Indian Journal of Forensic Medicine & Toxicology. 15. 2580-2590. 10.37506/ijfmt.v15i2.14761.

RevoU. (2023). Scatter Plot.

Rokom. (2023). Cegah Penyakit Jantung dengan Menerapkan Perilaku CERDIK dan PATUH. dengan-menerapkan-perilaku-cerdik-dan-patuh/

Santamónica, A. F., Carratalá-Sáez, R., Larriba, Y., Pérez-Castellanos, A., & Rueda, C. (2024). ECGMiner: A flexible software for accurately digitizing ECG. Computer Methods and Programs in Biomedicine, 246.

Shanti, H. D. (2022). Perki: butuh kolaborasi kuat tekan kematian akibat penyakit jantung

Sujarwoto. (2019). Model Revitalisasi Pondok Kesehatan Desa (Ponkesdes) dan Pos Pembinaan Terpadu (Posbindu) untuk Promosi Kesehatan dan Deteksi Dini Faktor Risiko Penyakit Jantung di Desa Sepanjang Kecamatan Gondanglegi Kabupaten Malang. Jurnal Ilmiah Administrasi Publik (JIAP). 5(1).

Szlosek, D. A., Castaneda, E. L., Grimaldi, D. A., Spake, A. K., Estrada, A. H., & Gentile-Solomon, J. (2024). Frequency of arrhythmias detected in 9440 feline electrocardiograms by breed, age, and sex. Journal of Veterinary Cardiology, 51, 116–123.

Tison, G. H., Abreau, S., Barrios, J., Lim, L. J., Yang, M., Crudo, V., Shah, D. J., Nguyen, T., Hu, G., Dixit, S., Nah, G., Arya, F., Bibby, D., Lee, Y., & Delling, F. N. (2023). Identifying Mitral Valve Prolapse at Risk for Arrhythmias and Fibrosis From Electrocardiograms Using Deep Learning. JACC: Advances, 2(6).

Turnip, A., Ilham Rizqywan, M., Kusumandari, D. E., Turnip, M., & Sihombing, P. (2018). Classification of ECG signal with Support Vector Machine Method for Arrhythmia Detection. Journal of Physics: Conference Series, 970(1).

Turnip, M., Saragih, R. I. E., Dharma, A., Kusumandari, D. E., Turnip, A., Sitanggang, D., & Aisyah, S. (2018). Extraction of ECG signal with adaptive filter for heart abnormalities detection. Journal of Physics: Conference Series, 1007(1).

Wijaya, C., Andrian, Harahap, M., Christnatalis, Turnip, M., & Turnip, A. (2019). Abnormalities State Detection from P-Wave, QRS Complex, and T-Wave in Noisy ECG. Journal of Physics: Conference Series, 1230(1).

World Health Organization. (n.d.). Cardiovascular diseases.


Crossmark Updates

How to Cite

Banjarnahor, J. ., Sinaga, F., Sitorus, D. S., Sitanggang, W. A. A. ., & Turnip, M. . (2024). Application of Decision Tree Method in ECG Signal Classification For Heart Disorder Detection. Sinkron : Jurnal Dan Penelitian Teknik Informatika, 8(2), 1064-1072.