Abstract
ECG (Electrocardiogram) waves have a significant role in identifying the nature of heart diseases and monitoring the heart situation of patients who suffer from different cardiovascular diseases. In this research, a model that implements a binary classification in the light of the 1D-CNN algorithm is proposed for the ECG signal environment. The main objective of this study is to detect and separate regular and irregular heartbeat signals. The model has been trained and tested on the MIT-BIH dataset and classifies the signal into "normal" and "abnormal" samples using various activation functions for different epochs. Test results indicated that, according to the confusion matrix, an improvement of 99.8%, 99.9%, and 99.7% was achieved for accuracy, sensitivity, and specificity, respectively. These results are better than other related works that have been recently published for the classification of ECG signals.
Similar content being viewed by others
Data availability
The dataset has taken from this website.
References
Priyadharsan DJ et al (2019) Patient health monitoring using IoT with machine learning. Int Res J Eng Technol 06:03
Chamley RR, Holdsworth DA, Rajappan K, Nicol ED (2019) ECG interpretation: Interpretation of the ECG in young, fit, asymptomatic individuals undertaking high-hazard occupations is the topic of the fourth article in the occupational cardiology series. Eur Heart J 40:2663–2666
Murray CJ, Lopez AD (1997) Global mortality, disability, and the contribution of risk factors: Global Burden of Disease Study. Lancet 349(9063):1436–1442. https://doi.org/10.1016/S0140-6736(96)07495-8
Bhopal RS (2019) Epidemic of Cardiovascular Disease and Diabetes: Explaining the Phenomenon in South Asians Worldwide; Oxford University Press: Oxford, UK. Available from Epidemic of Cardiovascular Disease and Diabetes: Explaining the Phenomenon in South Asians Worldwide - Oxford Medicine [Accessed on May 1, 2021]
Mechanic OJ, Gavin M, Grossman SA. Acute Myocardial Infarction. [Updated 2021 Mar 9]. In: StatPearls [Internet]. Treasure Island (FL): StatPearls Publishing; 2021 Jan-. Available from: https://www.ncbi.nlm.nih.gov/books/NBK459269/ [Accessed on May 1, 2021]
CDC website (2020), Heart Disease Facts, online available at https://www.cdc.gov/heartdisease/facts.htm [Accessed on May 2, 2021]
Laxmi S. Mehta et al (2016) Acute Myocardial Infarction in Women A Scientific Statement From the American Heart Association. Journal of The American Heart Association.
Nashif S, Raihan MdR, Islam MdR, Imam MH (2018) Heart Disease Detection by Using Machine Learning Algorithms and a Real-Time Cardiovascular Health Monitoring System. World J Eng Technol 6:854–873
E. Perrier (2015) Positive disruption: healthcare, ageing & participation in the age of technology. Australia: the mckell institute
Gope P, Hwang T (2016) BSN-Care: A Secure IoT-Based Modern Healthcare System Using Body Sensor Network. IEEE Sens J 16(5):1368–1376
Zhu N et al (2015) Bridging e-Health and the Internet of Things: The SPHERE Project. IEEE Intell Syst 30(4):39–46
National Institute of Neurological Disorders and Stroke (2020), (Sudden Unexplained Death in Epliepsy, online available at The Epilepsies and Seizures: Hope Through Research |National Institute of Neurological Disorders and Stroke (nih.gov)[Accessed on May 5, 2021]
Anwar SM, Majid M, Qayyum A et al (2018) Medical Image Analysis using Convolutional Neural Networks: A Review. J Med Syst 42:226
Mustaqeem A, Anwar SM, Khan AR, Majid M (2017) A statistical analysis based recommender model for heart disease patients. Int J Med Inform 108:134–145. https://doi.org/10.1016/j.ijmedinf.2017.10.008
Anwar SM, Gul M, Majid M, Alnowami M (2018) Arrhythmia Classification of ECG Signals Using Hybrid Features. Comput. Math, Methods Med
Mustaqeem A, Anwar SM, Majid M (2018) Multiclass classification of cardiac arrhythmia using improved feature selection and SVM invariants. Comput. Math, Methods Med
Mustaqeem A, Anwar SM, Majid M, Khan AR (2017) "Wrapper method for feature selection to classify cardiac arrhythmia," 2017 39th Annual Int Conf IEEE Eng Med Biol Soc, 3656–3659.
Prasad BP, Parthasarathy V (2018) Detection and classification of cardiovascular abnormalities using FFT based multi-objective genetic algorithm. Biotechnol Biotechnol Equip 32(1):183–193
Zhang D et al (2019) An ECG Signal De-Noising Approach Based on Wavelet Energy and Sub-Band Smoothing Filter. Appl Sci 9:4968
Sánchez FR, Cervera JG (2019) ECG Classification Using Artificial Neural Networks. J Phys: Conf Ser 1221:012062
Singh S, Pandey SK, Pawar U, Janghel RR (2018) Classification of ECG Arrhythmia using Recurrent Neural Networks. Proc Comput Sci 132:1290–1297. https://doi.org/10.1016/j.procs.2018.05.045
Khan MA (2020) An IoT Framework for Heart Disease Prediction Based on MDCNN Classifier. IEEE Access 8:34717–34727. https://doi.org/10.1109/ACCESS.2020.2974687
Ullah Amin et al (2020) Classification of Arrhythmia by Using Deep Learning with 2-D ECG Spectral Image Representation. Remote Sens 12:1685
Avanzato R, Beritelli F (2020) Automatic ECG Diagnosis Using Convolutional Neural Network. Electronics 9:951
Nannavecchia A et al (2021) Personal Heart Health Monitoring Based on 1D Convolutional Neural Network. J Imaging 7:26
Li J, Si Y, Xu T, Jiang S (2018) “DeepConvolutionalNeuralNetworkBased ECG Classification System Using Information Fusion and One-Hot Encoding Techniques”, Math Probl Eng. https://doi.org/10.1155/2018/7354081.
Chen J, Valehi A, Razi A (2019) Smart Heart Monitoring: Early Prediction of Heart Problems Through Predictive Analysis of ECG Signals. IEEE Access 7:120831–120839
Jason Brownlee (2020), Impact of Dataset Size on Deep Learning Model Skill And Performance Estimates, Machine Learning Mastery, available online at (https://machinelearningmastery.com/impact-of-dataset-size-on-deep-learning-model-skill-and-performance-estimates/) [Acceded on July 15, 2021]
Acharya UR, Fujita H, Oh SL, Hagiwara Y, Tan JH, Adam M (2017) Application of deep convolutional neural network for automated detection of myocardial infarction using ECG signals. Inf Sci 415:190–198
Hsieh CH, Li YS, Hwang BJ (2020) Hsiao CH Detection of Atrial Fibrillation Using 1D Convolutional Neural Network. Sensors 20:2136
Systems (ICACCS) (2019) Coimbatore, India, 15–16 March 2019; IEEE: Piscataway, NJ, USA, 365–369.
Zubair M, Kim J, and Yoon C (2016) “An automated ECG beat classification system using convolutional neural networks,” in 2016 6th International Conference on IT Convergence and Security, ICITCS. https://doi.org/10.1109/ICITCS.2016.7740310.
Rehman SU, Tu S, Huang Y (2016) Yang Z “Face recognition: A novel un-supervised convolutional neural network method,.” IEEE Int Conf Online Anal Comput Sci 2016:139–144. https://doi.org/10.1109/ICOACS.2016.7563066
Tu S, Rehmanur S, Waqas M, Rehman OU, Yang Z, Ahmad B, Halim Z, Zhao W (2020) Optimisation-based training of evolutionary convolution neural network for visual classification applications. IET Comput Vis 14:259–267
Ullah A, Rehman SU, Tu S, Mehmood RM, FawadEhatisham-ul-haq M (2021) A Hybrid Deep CNN Model for Abnormal Arrhythmia Detection Based on Cardiac ECG Signal. Sensors 21:951
Nanjundegowda R, Meshram V (2018) Jain University. Dayananda Sagar University Arrhythmia Detection Based on Hybrid Features of T-wave in Electrocardiogram. Int J Intell Eng Syst 11:153–162
Ranjan R, Arya R, Fernandes SL, Sravya E, Jain V (2018) A fuzzy neural network approach for automatic k-complex detection in sleep EEG signal. Pattern Recognit Lett 115:74–83
Li Z, Feng X, Wu Z, Yang C, Bai B, Yang Q (2019) Classification of Atrial Fibrillation Recurrence Based on a Convolution Neural Network With SVM Architecture. IEEE Access 7:77849–77856. https://doi.org/10.1109/ACCESS.2019.2920900
Rohmantri R, Surantha N (2020) Arrhythmia Classification using 2D Convolutional Neural Network. Int J Adv Comput Sci Appl 11:2020
Yıldırım Ö, Pławiak P, Tan R-S, Acharya UR (2018) Arrhythmia detection using deep convolutional neural network with long duration ECG signals. Comput Biol Med 102:411–420
Rajkumar A, Ganesan M, Lavanya R. Arrhythmia classification on ECG using Deep Learning. In Proceedings of the 2019 5th Int Conf Adv Comput Commun
Kiranyaz S, Ince T, Gabbouj M (2016) Real-Time Patient-Specific ECG Classification by 1-D Convolutional Neural Networks. IEEE Trans Biomed Eng 63(3):664–675. https://doi.org/10.1109/TBME.2015.2468589
Kannathal N, Acharya UR, Lim CM, Sadasivan P, Krishnan S (2003) Classification of cardiac patient states using artificial neural networks. Exp Clin Cardiol 8(4):206–211
Funding
This research received no specific funding.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflicts of interest
All authors declare that they have no conflicts of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Abdulrahman, A.O., Hama Rawf, K.M. & Mohammed, A.A. Improved ECG heartbeat classification based on 1-D convolutional neural networks. Multimed Tools Appl (2023). https://doi.org/10.1007/s11042-023-17619-5
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s11042-023-17619-5