The Role of Morphology and Heart Rate Variability Features in Detecting Arrhythmias from Short ECGs

Authors

  • Alice Hu West Windsor-Plainsboro High School North, NJ
  • Shadi Ghiasi Computational Health Informatics Lab, Institute of Biomedical Engineering, University of Oxford, Oxford, UK.

DOI:

https://doi.org/10.47611/jsrhs.v12i1.3967

Keywords:

ECG classification, Atrial fibrillation, heart arrythmias, heart rate variability, machine learning, convolutional neural network

Abstract

Detecting heart arrhythmias from short Electrocardiogram (ECG) recordings remains challenging since recordings are short and contaminated by noise. ECG morphology features and Heart Rate Variability (HRV) time and frequency domain features are widely used for classifying short ECG recordings. Here we investigate the relative roles of ECG morphology features and HRV time and frequency domain features in classifying short ECG recordings provided by the 2017 PhysioNet/Computing in Cardiology Challenge. The classification is performed separately by four machine learning models: Logistic Regression, Decision Tree, K Nearest Neighbors, and Convolutional Neural Network (CNN). Our best classification score is obtained using the deep learning 1-dimensional CNN model trained on HRV time domain features combined with ECG morphology features. It gives an overall F1 score of 0.70 and 0.73 for the cross validation and hidden test respectively when considering the average classification performance over all 4 categories: Atrial Fibrillation (AF), normal, other arrhythmias, and noisy signal. We found that HRV time domain features play an important role in detecting AF, normal, and other classes, whereas ECG morphology features play a key role in detecting the noisy class. When HRV frequency domain features are combined with HRV time domain features, they do not improve and often degrade classifications of short ECG recordings compared to classifications using only HRV time domain features. Combining ECG morphology features with HRV time domain features leads to a better classification performance for short ECG recordings. Feature-based deep learning could serve as a viable and less expensive approach for ECG classifications.

Downloads

Download data is not yet available.

References or Bibliography

Andreotti, F., Carr, O., Pimentel, M. A., Mahdi, A., & De Vos, M. (2017). Comparing feature-based classifiers and convolutional neural networks to detect arrhythmia from short segments of ECG. In 2017 Computing in Cardiology (CinC), 1-4, IEEE. https://doi.org/10.22489/CinC.2017.360-239

Billeci, L., Chiarugi, F., Costi, M., Lombardi, D., & Varanini, M. (2017). Detection of AF and other rhythms using RR variability and ECG spectral measures. In 2017 Computing in Cardiology (CinC), 1-4, IEEE. https://doi.org/10.22489/CinC.2017.344-144

Carreiras, C., Alves, A. P., Lourenço, A., Canento, F., Silva, H., & Fred, A. (2015). Biosppy: Biosignal processing in python. https://github.com/PIA-Group/BioSPPy

Chandra, B. S., Sastry, C. S., Jana, S., & Patidar, S. (2017). Atrial fibrillation detection using convolutional neural networks. In 2017 Computing in Cardiology (CinC), 1-4, IEEE. https://doi.org/10.22489/CinC.2017.163-226

Clifford, G. D., Liu, C., Moody, B., Li-wei, H. L., Silva, I., Li, Q., ... & Mark, R. G. (2017). AF classification from a short single lead ECG recording: The PhysioNet/computing in cardiology challenge 2017. In 2017 Computing in Cardiology (CinC), 1-4, IEEE. https://doi.org/10.22489/CinC.2017.065-469

Coppola, E. E., Gyawali, P. K., Vanjara, N., Giaime, D., & Wang, L. (2017). Atrial fibrillation classification from a short single lead ECG recording using hierarchical classifier. In 2017 Computing in Cardiology (CinC), 1-4, IEEE. https://doi.org/10.22489/CinC.2017.354-425

Da Silva-Filarder, M., & Marzbanrad, F. (2017). Combining template-based and feature-based classification to detect atrial fibrillation from a short single lead ECG recording. In 2017 Computing in Cardiology (CinC), 1-4, IEEE. https://doi.org/10.22489/CinC.2017.346-357

Datta, S., Puri, C., Mukherjee, A., Banerjee, R., Choudhury, A. D., Singh, R., ... & Khandelwal, S. (2017). Identifying normal, AF and other abnormal ECG rhythms using a cascaded binary classifier. In 2017 Computing in cardiology (cinc), 1-4, IEEE. https://doi.org/10.22489/CinC.2017.173-154

Fix, E., & Hodges, J. L. (1989). Discriminatory analysis. Nonparametric discrimination: Consistency properties. International Statistical Review/Revue Internationale de Statistique, 57(3), 238-247. https://doi.org/10.2307/1403797

Ghiasi, S., Abdollahpur, M., Madani, N., Kiani, K., & Ghaffari, A. (2017). Atrial fibrillation detection using feature based algorithm and deep convolutional neural network. In 2017 Computing in Cardiology (CinC), 1-4, IEEE. https://doi.org/10.22489/CinC.2017.159-327

Gomes, P., Margaritoff, P., & da Silva H. P, (2019). pyHRV: Development and evaluation of an open-source python toolbox for heart rate variability (HRV), Proc. Int’l Conf. on Electrical, Electronic and Computing Engineering (IcETRAN), 822-828. https://github.com/PGomes92/pyhrv

Goodfellow, S. D., Goodwin, A., Greer, R., Laussen, P. C., Mazwi, M., & Eytan, D. (2017). Classification of atrial fibrillation using multidisciplinary features and gradient boosting. In 2017 Computing in Cardiology (CinC) 44, 1-4, IEEE. https://doi.org/10.22489/CinC.2017.361-352

Hamilton P. S., & Tompkins W. J. (1986) Quantitative Investigation of QRS Detection Rules Using the MIT/BIH Arrhythmia Database. IEEE Trans Eng Biomed Eng. 33, 1157-65. https://doi.org/10.1109/TBME.1986.325695

Hastie, T., Tibshirani, R., & Friedman, J. (2008) The Elements of Statistical Learning; Springer: New York, NY, USA. https://link.springer.com/978-0-387-21606-5

Hsieh, C. H., Li, Y. S., Hwang, B. J., & Hsiao, C. H. (2020). Detection of atrial fibrillation using 1D convolutional neural network. Sensors, 20(7), 2136. https://doi.org/10.3390/s20072136

LeCun, Y., & Bengio, Y. (1995). Convolutional networks for images, speech, and time series. The handbook of brain theory and neural networks, 3361(10). http://www.iro.umontreal.ca/~lisa/pointeurs/handbook-convo.pdf

Nattel, S. (2002). New ideas about atrial fibrillation 50 years on. Nature, 415(6868), 219-226. https://doi.org/10.1038/415219a

Pedregosa et al. (2011). Scikit-learn: Machine Learning in Python, JMLR 12, 2825-2830. https://www.jmlr.org/papers/volume12/pedregosa11a/pedregosa11a.pdf?ref=https://githubhelp.com

Shaffer, F., & Ginsberg, J. P. (2017). An overview of heart rate variability metrics and norms. Frontiers in public health, 258. https://doi.org/10.3389/fpubh.2017.00258

Smoleń, D. (2017). Atrial fibrillation detection using boosting and stacking ensemble. In 2017 Computing in Cardiology (CinC), 1-4. IEEE. https://doi.org/10.22489/CinC.2017.068-247

Van Zaen, J., Delgado-Gonzalo, R., Ferrario, D., & Lemay, M. (2019). Cardiac arrhythmia detection from ECG with convolutional recurrent neural networks. In International Joint Conference on Biomedical Engineering Systems and Technologies, 311-327, Springer, Cham. https://doi.org/10.1007/978-3-030-46970-2_15

Warrick, P., & Homsi, M.N. (2017). Cardiac arrhythmia detection from ECG combining convolutional and long short-term memory networks. In Proceedings of the 2017 Computing in Cardiology (CinC), 44, 1–4, IEEE. https://doi.org/10.22489/CinC.2017.161-460

Weimann, K., & Conrad, T. O. (2021). Transfer learning for ECG classification. Scientific reports, 11(1), 1-12. https://doi.org/10.1038/s41598-021-84374-8

Xiong, Z., Stiles, M. K., & Zhao, J. (2017). Robust ECG signal classification for detection of atrial fibrillation using a novel neural network. In 2017 Computing in Cardiology (CinC), 1-4, IEEE. https://doi.org/10.22489/CinC.2017.066-138

Yazdani, S., Laub, P., Luca, A., & Vesin, J. M. (2017). Heart rhythm classification using short-term ECG atrial and ventricular activity analysis. In 2017 Computing in Cardiology (CinC), 1-4, IEEE. https://doi.org/10.22489/CinC.2017.067-120

Zabihi, M., Rad, A. B., Katsaggelos, A. K., Kiranyaz, S., Narkilahti, S., & Gabbouj, M. (2017). Detection of atrial fibrillation in ECG hand-held devices using a random forest classifier. In 2017 Computing in Cardiology (CinC), 1-4, IEEE. https://doi.org/10.22489/CinC.2017.069-336

Zihlmann, M., Perekrestenko, D., & Tschannen, M. (2017). Convolutional recurrent neural networks for electrocardiogram classification. In 2017 Computing in Cardiology (CinC), 1-4, IEEE. https://doi.org/10.22489/CinC.2017.070-060

Published

02-28-2023

How to Cite

Hu, A., & Ghiasi, S. (2023). The Role of Morphology and Heart Rate Variability Features in Detecting Arrhythmias from Short ECGs. Journal of Student Research, 12(1). https://doi.org/10.47611/jsrhs.v12i1.3967

Issue

Section

HS Research Articles