Abstract
The number of heart disease cases as well as the death associated with it are rising in numbers every year. It is now more important than ever to diagnose heart abnormalities quickly and correctly to ensure proper treatment is provided in time. A common tool for diagnosing heart abnormalities is the Electrocardiogram (ECG). The ECG is a procedure that requires electrodes to monitor and records the activity of hearts as a form of signal. In this paper, a method is proposed to classify standard 12-lead ECG signals using continuous wavelet transform (CWT) and convolutional neural network (CNN). At first, CWT is used to extract and represent features of the ECG signals in 2-dimensional (2D) RGB images. Later, the RGB images are classified into normal and abnormal cases using a pre-trained CNN. The proposed method is evaluated using a dataset containing ECG signals from 18,885 subjects. The maximum accuracy, precision, recall, F1 score, and AUC obtained are 74.78%, 78.968%, 71.003%, 72.957%, and 0.81126 respectively.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Cardiovascular diseases (CVDs) (2022). https://www.who.int/health-topics/cardiovascular-diseases. Online; Last Accessed 31 Aug 2022
Continuous wavelet transform and scale-based analysis—MATLAB Simulink. https://www.mathworks.com/help/wavelet/gs/continuous-wavelet-transform-and-scale-based-analysis.html. Online; Last Accessed 31 Aug 2022
Deng J, Dong W, Socher R, Li LJ, Li K, Li FF (2009) ImageNet: a large-scale hierarchical image database. In: 2009 IEEE conference on computer vision and pattern recognition (CVPR). IEEE, pp 248–255
Doi (2007) Computer-aided diagnosis in medical imaging: historical review, current status and future potential. Comput Med Imaging Graph 31(4–5):198–211
Feyisa DW, Debelee TG, Ayano YM, Kebede SR, Assore TF (2022) Lightweight multireceptive field CNN for 12-lead ECG signal classification. Comput Intell Neurosci
Goldberger A, Amaral L, Glass L, Hausdorff J, Ivanov PC, Mark R, Stanley HE (2000) PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals. Circulation 101(23):e215–e220
Jadhav P, Rajguru G, Datta D, Mukhopadhyay S (2022) Automatic sleep stage classification using time–frequency images of CWT and transfer learning using convolution neural network. J Biocybern Biomed Eng 40(1):494–504
Malik J, Devecioglu OC, Kiranyaz S, Ince T, Gabbouj M (2021) Real-time patient-specific ECG classification by 1d self-operational neural networks. IEEE Trans Biomed Eng 69(5):1788–1801
Quinn GR, Ranum D, Song E, Linets M, Keohane C, Riah H, Greenberg P (2017) Missed diagnosis of cardiovascular disease in outpatient general medicine: Insights from malpractice claims data. Jt Comm J Qual Patient Saf 43(10):508–516
Rahhal MM, Bazi Y, Zuair M, Othman E, BenJdira B (2018) Convolutional neural networks for electrocardiogram classification. J Med Biol Eng 38(6):1014–1025
ResNet-50 convolutional neural network-MAT-LAB resnet50. https://www.mathworks.com/help/deeplearning/ref/resnet50.html. Online; Last Accessed 31 Aug 2022
Shaker T, Tolba S (2020) Generalization of convolutional neural networks for ECG classification using generative adversarial networks. IEEE Access 8:35592–35605
Śmigiel S, Pałczyński K, Ledziński D (2021) ECG signal classification using deep learning techniques based on the PTB-XL dataset. Entropy 23(9):1121
Wagner P, Strodthoff N, Bousseljot RD, Samek W, Schaeffter T (2020) PTB-XL, a large publicly available electrocardiography dataset. PhysioNet
Wagner P, Strodthoff N, Bousseljot RD, Kreiseler D, Lunze FI, Samek W, Schaeffter T (2020) PTB-XL, a large publicly available electrocardiography dataset. Sci Data 7(1)
Wang T, Lu C, Sun Y, Yang M, Liu C, Ou C (2021) Automatic ECG classification using continuous wavelet transform and convolutional neural network. Entropy (Basel) 23(1):119
Weimann K, Conrad TOF (2021) Transfer learning for ECG classification. Sci Rep 11(1):5251
Wu M, Lu Y, Yang W, Wong SY (2020) A study on Arrhythmia via ECG signal classification using the convolutional neural network. Front Comput Neurosci 14:564015
Xu X, Liu H (2020) ECG heartbeat classification using convolutional neural networks. IEEE Access 8:8614–8619
Yan Z, Zhou J, Wong WF (2021) Energy efficient ECG classification with spiking neural network. Biomed Signal Process Control 63:102170
Yanase J, Triantaphyllou E (2019) A systematic survey of computer-aided diagnosis in medicine: past and present developments. Exp Syst Appl 138:112821
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Mayabee, T.T., Haque, K.T., Alam, S.B., Rahman, R., Amin, M.A., Kobashi, S. (2023). ECG Signal Classification Using Transfer Learning and Convolutional Neural Networks. In: Kaiser, M.S., Waheed, S., Bandyopadhyay, A., Mahmud, M., Ray, K. (eds) Proceedings of the Fourth International Conference on Trends in Computational and Cognitive Engineering. Lecture Notes in Networks and Systems, vol 618. Springer, Singapore. https://doi.org/10.1007/978-981-19-9483-8_21
Download citation
DOI: https://doi.org/10.1007/978-981-19-9483-8_21
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-19-9482-1
Online ISBN: 978-981-19-9483-8
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)