Research Article
Open access
Published on 17 October 2024
Download pdf
Xu,C. (2024). CNN-GRU model for ECG signal classification using UCR time series data. Advances in Engineering Innovation,12,31-35.
Export citation

CNN-GRU model for ECG signal classification using UCR time series data

Cong Xu *,1,
  • 1 Hong Kong University

* Author to whom correspondence should be addressed.

https://doi.org/10.54254/2977-3903/12/2024127

Abstract

This study presents a hybrid Convolutional Neural Network (CNN) and Gated Recurrent Unit (GRU) model designed to classify electrocardiogram (ECG) signals into five categories, including normal and abnormal heart activities. The model leverages CNN layers to extract critical local features from ECG signals, while GRU layers capture temporal dependencies in heartbeat sequences. Squeeze-and-Excitation (SE) blocks were incorporated to enhance the model's focus on important signal components. Using the ECG5000 dataset from the UCR Time Series Classification Archive, the model was trained with data augmentation techniques such as time scaling, time shifting, and noise addition to improve its robustness. After training for 20 epochs with an Adam optimizer, the model achieved a test accuracy of 94.19%, demonstrating its effectiveness in distinguishing between different heart conditions. This automated classification system holds significant potential for aiding healthcare professionals in diagnosing heart diseases more accurately and efficiently, offering critical support in clinical decision-making.

Keywords

ECG classification, CNN-GRU model, deep learning, heart disease detection, time-series data

[1]. Serhani, M. A., T. El Kassabi, H., Ismail, H., & Nujum Navaz, A. (2020). ECG monitoring systems: Review, architecture, processes, and key challenges. Sensors, 20(6), 1796.

[2]. Liu, X., Wang, H., Li, Z., & Qin, L. (2021). Deep learning in ECG diagnosis: A review. Knowledge-Based Systems, 227, 107187.

[3]. Yao, G., Mao, X., Li, N., Xu, H., Xu, X., Jiao, Y., & Ni, J. (2021). Interpretation of electrocardiogram heartbeat by CNN and GRU. Computational and Mathematical Methods in Medicine, 2021(1), 6534942.

[4]. Yanping Chen, Eamonn Keogh, Bing Hu, Nurjahan Begum, Anthony Bagnall, Abdullah Mueen and Gustavo Batista (2015). The UCR Time Series Classification Archive. URL www.cs.ucr.edu/~eamonn/time_series_data/.

[5]. Hu, B., Chen, Y., & Keogh, E. J. (2013). Time Series Classification under More Realistic Assumptions. In SDM 2013, pp. 578-586.

[6]. Ansari, Y., et al. (2023). Deep learning for ECG arrhythmia detection and classification: An overview of progress for period 2017–2023. Frontiers in Physiology, 14, 1246746.

[7]. Yang, S., et al. (2023). A multi-view multi-scale neural network for multi-label ECG classification. IEEE Transactions on Emerging Topics in Computational Intelligence, 7(3), 648–660.

[8]. Singh, P. N., & Mahapatra, R. P. (2024). A novel deep learning approach for arrhythmia prediction on ECG classification using recurrent CNN with GWO. International Journal of Information Technology, 16(1), 577–585.

[9]. Chiu, M. -C., et al. (2023). A hybrid CNN-GRU based probabilistic model for load forecasting from individual household to commercial building. Energy Reports, 9, 94–105.

[10]. Vatanchi, S. M., et al. (2023). A comparative study on forecasting of long-term daily streamflow using ANN, ANFIS, BiLSTM and CNN-GRU-LSTM. Water Resources Management, 37(12), 4769–4785.

Cite this article

Xu,C. (2024). CNN-GRU model for ECG signal classification using UCR time series data. Advances in Engineering Innovation,12,31-35.

Data availability

The datasets used and/or analyzed during the current study will be available from the authors upon reasonable request.

Disclaimer/Publisher's Note

The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of EWA Publishing and/or the editor(s). EWA Publishing and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

About volume

Journal:Advances in Engineering Innovation

Volume number: Vol.12
ISSN:2977-3903(Print) / 2977-3911(Online)

© 2024 by the author(s). Licensee EWA Publishing, Oxford, UK. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license. Authors who publish this series agree to the following terms:
1. Authors retain copyright and grant the series right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this series.
2. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the series's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this series.
3. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See Open access policy for details).