ECG Classification Algorithm Based on Deep Ensemble Learning
DOI:
https://doi.org/10.54097/hxwrdq59Keywords:
ECG classification, Stacking, CNN, LSTMAbstract
Cardiovascular disease has become a major global public health concern due to its high mortality rate. As a core non-invasive diagnostic tool, electrocardiogram (ECG) automatic classification is critical for the early screening of heart diseases. To address the problems of low efficiency in manual diagnosis, the inability of single deep learning models to simultaneously capture morphological and temporal features in ECG classification, and insufficient robustness under class-imbalanced scenarios, this paper proposes a deep ensemble learning algorithm named CBR-Stacking. The algorithm uses 1D-CNN, CNN-BiLSTM, and ResNet1D as heterogeneous base models to capture local morphological features, local-temporal fused features, and deep residual features of ECG signals, respectively. Following the Stacking ensemble strategy, the outputs of base models are taken as meta-features and fed into a logistic regression meta-classifier to obtain the final classification decision. Meanwhile, Z-score normalization and class weight method are adopted for data preprocessing to alleviate amplitude differences and class imbalance. Experimental results on the PTB myocardial infarction dataset and MIT-BIH arrhythmia dataset show that the CBR-Stacking model achieves accuracies of 99.55% and 98.86% in binary classification and five-class classification tasks, respectively, outperforming single base models and traditional machine learning methods in all evaluation metrics. Moreover, the time consumption of the model ensemble stage accounts for less than 0.1%, ensuring stable running efficiency. The proposed model effectively integrates the complementary advantages of multi-architecture deep learning models, improving the accuracy, robustness, and generalization ability of ECG classification, and provides an efficient and reliable solution for intelligent auxiliary diagnosis of electrocardiograms.
Downloads
References
[1] National Center for Cardiovascular Diseases, Writing Group of Chinese Cardiovascular Health and Diseases Report, Hu, S. H. Summary of Chinese Cardiovascular Health and Diseases Report 2023[J]. Chinese Circulation Journal, 2024, 39(7): 625-660.
[2] World Health Organization, Cardiovascular diseases (CVDs). [Online]. Available: https://www.who.int/news-room/factsheets/detail/cardiovascular-diseases-(cvds)
[3] Tran T L, Thai B T, Tran V K, et al. Real-time Assessment of ECG Classification based on Time-series Data and Other Types of Features[J]. Journal of Engineering & Technological Sciences, 2025, 57(4).
[4] Jasvitha B D, Kanagaraj K, Murali K, et al. 1D CNN Framework on ECG Signals[J]. 2024 3rd International Conference for Innovation in Technology (INOCON), 2024:1-6.
[5] Jyotishi, Debasish, and Samarendra Dandapat. An LSTM-based model for person identification using ECG signal. IEEE Sensors Letters 4.8 (2020): 1-4.
[6] Wang, J. R., Yu, X. X., Xin, B. B., Gao, R. F., Li, G. Research on ECG Classification Algorithm Based on Improved U-Net Network[J]. Journal of Chongqing University of Technology (Natural Science), 2024, 38(1): 142-149.
[7] Wang, G. J., Wu, T., Wang, L., et al. Research on Electrocardiogram Diagnosis Based on Machine Learning[J]. Journal of Practical Electrocardiology, 2020, 29(4): 262-268+2977.
[8] Rai H M, Chatterjee K, Dashkevych S. The prediction of cardiac abnormality and enhancement in minority class accuracy from imbalanced ECG signals using modified deep neural network models[J]. Computers in Biology and Medicine, 2022, 150: 106142.
[9] Sharma P, Dinkar S K, Gupta D. A novel hybrid deep learning method with cuckoo search algorithm for classification of arrhythmia disease using ECG signals[J]. Neural Computing and Applications, 2021, 33: 13123-13143.
[10] Kumar S, Mallik A, Kumar A, et al. Fuzz-ClustNet: Coupled fuzzy clustering and deep neural networks for Arrhythmia detection from ECG signals[J]. Computers in Biology and Medicine, 2023, 153: 106511.
[11] Liu, H. D., Sun, X. H., Wang, B., et al. Research on Poverty Return Risk Prediction of Poverty-Alleviated Population Based on Stacking Ensemble Learning[J]. Journal of Hebei Agricultural University, 2024, 47(6): 75-82.
[12] Ige A O, Sibiya M. State-of-the-art in 1D Convolutional Neural Networks: A survey[J]. IEEE Access, 2024.
[13] S.-N. Tang, Y.-H. Chen, Y.-W. Chang, et al. Hybrid CNN-LSTM Network for ECG Classification and Its Software-Hardware Co-Design Approach. 2023 20th International SoC Design Conference (ISOCC), 2023, pp. 173-174.
[14] Basora M G, Mulayim M O. An Attention-Augmented VAE-BiLSTM Framework for Anomaly Detection in 12-Lead ECG Signals[J]. 2025.
[15] N. ZALIGA, S. ELOUAHAM and A. DLIOU. 1 Dimensional Residual Network for Ecg Signal Denoising. 2025 International Conference on Circuit, Systems and Communication (ICCSC). 2025, pp. 1-5.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Journal of Computing and Electronic Information Management

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.








