Machine Learning Classification of SCD, CHF, and NSR Using 15-Minute ECG-Derived HRV Features

Authors

  • Febriyanti Panjaitan Satu University, Indonesia
  • Win Ce Binus University, Indonesia
  • M. Fajar Ramadhan Satu University, Indonesia
  • Winarnie Satu University, Indonesia
  • Hery Oktafiandi Satu University, Indonesia
Pages Icon

DOI:

https://doi.org/10.63158/journalisi.v8i2.1557

Keywords:

Heart Rate Variability, ECG classification, Sudden Cardiac Death, Congestive Heart Failure, Machine Learning

Abstract

Heart disease remains one of the leading causes of mortality worldwide, making early detection essential for effective intervention. Heart Rate Variability (HRV) is widely used as a non-invasive marker for assessing cardiac conditions, and machine learning has shown potential in classifying heart diseases such as Sudden Cardiac Death (SCD) and Congestive Heart Failure (CHF). This study evaluates the performance of Support Vector Machine (SVM), Decision Tree (DT), and K-Nearest Neighbors (KNN) using 15-minute ECG signals comprising three 5-minute segments. The dataset consists of 53 subjects, generating 159 segments, including SCD, CHF, and Normal Sinus Rhythm (NSR). To prevent data leakage, a subject-wise split (80:20) is applied for training and testing. Two evaluation scenarios are considered: per-segment classification and combined 15-minute classification. Results indicate that SVM and DT achieve consistently high, stable performance with near-perfect accuracy, precision, recall, and F1-score, whereas KNN shows lower, more variable performance, particularly in segment-based analysis. The combined 15-minute approach provides more stable results, suggesting improved HRV representation and class separability. Although the results are promising, further validation with larger, more diverse datasets is required to ensure robustness and generalizability. This study highlights the potential of HRV-based machine learning while emphasizing the importance of appropriate temporal representation and rigorous evaluation design.

Downloads

Download data is not yet available.

References

[1] C. X. Wong et al., “Epidemiology of sudden cardiac death: global and regional perspectives,” Heart Lung Circ., vol. 28, no. 1, pp. 6–14, 2019.

[2] F. Panjaitan, S. Nurmaini, and R. U. Partan, “Accurate prediction of sudden cardiac death based on heart rate variability analysis using convolutional neural network,” Medicina (B. Aires)., vol. 59, no. 8, p. 1394, 2023.

[3] F. Z. Sudirman, W. Wisudawan, and J. Dase, “Karakteristik Kejadian Mati Mendadak Akibat Penyakit Kardiovaskular: Literature Review,” Jurnal Kesehatan Tambusai, vol. 5, no. 4, pp. 11099–11109, 2024.

[4] D. Setiawan, A. Surtono, and S. W. Suciyati, “Ekstraksi Ciri Suara Jantung Menggunakan Metode Dekomposisi dan Korelasi Sinyal (Dekorlet) Berbasis Jaringan Syaraf Tiruan,” J. Teor. dan Apl. Fis, vol. 3, 2015.

[5] S. Santoso et al., “Penerapan Filter Digital untuk Menghilangkan Gangguan pada Sinyal Elektrokardiogram,” JREEC: Journal of Renewable Energy, Electronics and Control, vol. 4, no. 2, pp. 36–42, 2024.

[6] M. I. Dewa, E. R. Widasari, and H. Fitriyah, “Analisis Perbandingan Performa Algoritma Pendeteksi Puncak R pada Realtime Akuisisi Sinyal Electrocardiography berbasis Shimmer,” Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer, vol. 8, no. 1, pp. 82–87, 2024.

[7] S. K. Nayak et al., “A review of methods and applications for a heart rate variability analysis,” Algorithms, vol. 16, no. 9, p. 433, 2023.

[8] B. Anwar, E. Faisal, V. Irvianita, R. Putranto, and H. Shatri, “Peran heart rate variability dan faktor inflamasi pada sindrom lelah kronik,” Indonesian Journal of Health Science, vol. 4, no. 6, pp. 758–769, 2024.

[9] F. Panjaitan, S. Nurmaini, M. Akbar, A. H. Mirza, H. Syaputra, and T. B. Kurniawan, “Identification of classification method for sudden cardiac death: A review,” in 2019 International Conference on Electrical Engineering and Computer Science (ICECOS), IEEE, 2019, pp. 93–97.

[10] V. V. R. Maulina and H. Ohira, “Somatic Symptoms and Its Association with Anxiety and Interoception,” ANIMA Indonesian Psychological Journal, vol. 39, no. 2, pp. E04–E04, 2024.

[11] S. Alinsaif, “Unraveling Arrhythmias with Graph-Based Analysis: A Survey of the MIT-BIH Database,” Computation, vol. 12, no. 2, p. 21, 2024.

[12] A. Darmawahyuni, S. Nurmaini, M. Yuwandini, Muhammad Naufal Rachmatullah, F. Firdaus, and B. Tutuko, “Congestive heart failure waveform classification based on short time-step analysis with recurrent network,” Inform. Med. Unlocked, vol. 21, 2020, doi: 10.1016/j.imu.2020.100441.

[13] M. G. Pradana, P. H. Saputro, and D. P. Wijaya, “Komparasi Metode Support Vector Machine Dan Naïve Bayes Dalam Klasifikasi Peluang Penyakit Serangan Jantung,” Indonesian Journal of Business Intelligence (IJUBI), vol. 5, no. 2, pp. 87–91, 2022.

[14] O. P. Barus, N. Phan, A. E. Widjaja, J. J. Pangaribuan, and R. Romindo, “Heart Disease Classification Using Decision Trees,” in 2024 3rd International Conference on Creative Communication and Innovative Technology (ICCIT), IEEE, 2024, pp. 1–6.

[15] F. Panjaitan, S. Nurmaini, and R. U. Partan, “Hyperparameter Optimization in Machine Learning for Heart Disease Classification based on Heart Rate Variability Feature Analysis,” in 2023 International Conference on Informatics, Multimedia, Cyber and Informations System (ICIMCIS), IEEE, 2023, pp. 393–397.

[16] S. K. Nayak et al., “A review of methods and applications for a heart rate variability analysis,” Algorithms, vol. 16, no. 9, p. 433, 2023.

[17] “Sudden Cardiac Death Holter Database v1.0.0.” Accessed: Mar. 17, 2023. [Online]. Available: https://physionet.org/content/sddb/1.0.0/

[18] “BIDMC Congestive Heart Failure Database v1.0.0.” Accessed: Jun. 16, 2023. [Online]. Available: https://physionet.org/content/chfdb/1.0.0/

[19] “MIT-BIH Normal Sinus Rhythm Database v1.0.0.” Accessed: Mar. 17, 2023. [Online]. Available: https://www.physionet.org/content/nsrdb/1.0.0/

[20] J. Naam, C. Suharinto, and S. Sumijan, “Digitalisasi Grafik Elektrokardiogram dengan Teknik Pixel Indexing,” Prosiding SISFOTEK, vol. 1, no. 1, pp. 172–176, 2017.

[21] T. F. of the E. S. of C. the N. A. S. of P. Electrophysiology, “Heart rate variability: standards of measurement, physiological interpretation, and clinical use,” Circulation, vol. 93, no. 5, pp. 1043–1065, 1996.

[22] P. Shimpi, S. Shah, M. Shroff, and A. Godbole, “A machine learning approach for the classification of cardiac arrhythmia,” in 2017 international conference on computing methodologies and communication (ICCMC), IEEE, 2017, pp. 603–607.

[23] F. Panjaitan, S. Nurmaini, and R. U. Partan, “Accurate Prediction of Sudden Cardiac Death Based on Heart Rate Variability Analysis Using Convolutional Neural Network,” Medicina (B. Aires)., vol. 59, no. 8, p. 1394, 2023.

[24] F. Panjaitan, S. Nurmaini, and R. U. Partan, “Hyperparameter Optimization in Machine Learning for Heart Disease Classification based on Heart Rate Variability Feature Analysis,” in 2023 International Conference on Informatics, Multimedia, Cyber and Informations System (ICIMCIS), IEEE, 2023, pp. 393–397.

[25] A. M. Fuentes et al., “Raman spectroscopy and convolutional neural networks for monitoring biochemical radiation response in breast tumour xenografts,” Sci. Rep., vol. 13, no. 1, Dec. 2023, doi: 10.1038/s41598-023-28479-2.

[26] V. Artanti, M. Faisal, and F. Kurniawan, “Klasifikasi Cardiovascular Diseases Menggunakan Algoritma K-Nearest Neighbors (KNN).,” Techno. com, vol. 23, no. 2, 2024.

[27] D. Tsiachris et al., “Electrocardiographic characteristics, identification, and management of frequent premature ventricular contractions,” Diagnostics, vol. 13, no. 19, p. 3094, 2023.

[28] M. Blondeel, T. Robyns, R. Willems, and B. Vandenberk, “Ventricular Depolarization Abnormalities and Their Role in Cardiac Risk Stratification—A Narrative Review,” Rev. Cardiovasc. Med., vol. 26, no. 1, p. 25921, 2025.

Downloads

Published

2026-04-26

Issue

Section

Articles

How to Cite

[1]
F. Panjaitan, W. Ce, M. F. Ramadhan, Winarnie, and H. Oktafiandi, “Machine Learning Classification of SCD, CHF, and NSR Using 15-Minute ECG-Derived HRV Features”, journalisi, vol. 8, no. 2, pp. 2275–2299, Apr. 2026, doi: 10.63158/journalisi.v8i2.1557.

Most read articles by the same author(s)