Skip to main content
Log in

Improved ECG heartbeat classification based on 1-D convolutional neural networks

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5

Similar content being viewed by others

Data availability

The dataset has taken from this website.

https://www.physionet.org/content/mitdb/1.0.0/

References

  1. Priyadharsan DJ et al (2019) Patient health monitoring using IoT with machine learning. Int Res J Eng Technol 06:03

    Google Scholar 

  2. 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

    Article  Google Scholar 

  3. 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

    Article  Google Scholar 

  4. 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]

  5. 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]

  6. CDC website (2020), Heart Disease Facts, online available at https://www.cdc.gov/heartdisease/facts.htm [Accessed on May 2, 2021]

  7. 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.

  8. 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

    Article  Google Scholar 

  9. E. Perrier (2015) Positive disruption: healthcare, ageing & participation in the age of technology. Australia: the mckell institute

  10. 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

    Article  Google Scholar 

  11. Zhu N et al (2015) Bridging e-Health and the Internet of Things: The SPHERE Project. IEEE Intell Syst 30(4):39–46

    Article  Google Scholar 

  12. 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]

  13. Anwar SM, Majid M, Qayyum A et al (2018) Medical Image Analysis using Convolutional Neural Networks: A Review. J Med Syst 42:226

    Article  Google Scholar 

  14. 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

    Article  Google Scholar 

  15. Anwar SM, Gul M, Majid M, Alnowami M (2018) Arrhythmia Classification of ECG Signals Using Hybrid Features. Comput. Math, Methods Med

    Book  MATH  Google Scholar 

  16. Mustaqeem A, Anwar SM, Majid M (2018) Multiclass classification of cardiac arrhythmia using improved feature selection and SVM invariants. Comput. Math, Methods Med

    Book  MATH  Google Scholar 

  17. 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.

  18. 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

    Article  Google Scholar 

  19. Zhang D et al (2019) An ECG Signal De-Noising Approach Based on Wavelet Energy and Sub-Band Smoothing Filter. Appl Sci 9:4968

    Article  Google Scholar 

  20. Sánchez FR, Cervera JG (2019) ECG Classification Using Artificial Neural Networks. J Phys: Conf Ser 1221:012062

    Google Scholar 

  21. 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

    Article  Google Scholar 

  22. 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

    Article  Google Scholar 

  23. Ullah Amin et al (2020) Classification of Arrhythmia by Using Deep Learning with 2-D ECG Spectral Image Representation. Remote Sens 12:1685

    Article  Google Scholar 

  24. Avanzato R, Beritelli F (2020) Automatic ECG Diagnosis Using Convolutional Neural Network. Electronics 9:951

    Article  Google Scholar 

  25. Nannavecchia A et al (2021) Personal Heart Health Monitoring Based on 1D Convolutional Neural Network. J Imaging 7:26

    Article  Google Scholar 

  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.

  27. 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

    Article  Google Scholar 

  28. 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]

  29. 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

    Article  Google Scholar 

  30. Hsieh CH, Li YS, Hwang BJ (2020) Hsiao CH Detection of Atrial Fibrillation Using 1D Convolutional Neural Network. Sensors 20:2136

    Article  Google Scholar 

  31. Systems (ICACCS) (2019) Coimbatore, India, 15–16 March 2019; IEEE: Piscataway, NJ, USA, 365–369.

  32. 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.

  33. 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

    Article  Google Scholar 

  34. 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

    Article  Google Scholar 

  35. 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

    Article  Google Scholar 

  36. 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

    Google Scholar 

  37. 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

    Article  Google Scholar 

  38. 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

    Article  Google Scholar 

  39. Rohmantri R, Surantha N (2020) Arrhythmia Classification using 2D Convolutional Neural Network. Int J Adv Comput Sci Appl 11:2020

    Google Scholar 

  40. 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

    Article  Google Scholar 

  41. Rajkumar A, Ganesan M, Lavanya R. Arrhythmia classification on ECG using Deep Learning. In Proceedings of the 2019 5th Int Conf Adv Comput Commun

  42. 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

    Article  Google Scholar 

  43. 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

    Google Scholar 

Download references

Funding

This research received no specific funding.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ayub Othman Abdulrahman.

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.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s11042-023-17619-5

Keywords

Navigation