Wavelet-based Machine Learning Techniques for ECG Signal Analysis

  • Roshan Joy MartisEmail author
  • Chandan Chakraborty
  • Ajoy Kumar Ray
Part of the Intelligent Systems Reference Library book series (ISRL, volume 56)


Machine learning of ECG is a core component in any of the ECG-based healthcare informatics system. Since the ECG is a nonlinear signal, the subtle changes in its amplitude and duration are not well manifested in time and frequency domains. Therefore, in this chapter, we introduce a machine-learning approach to screen arrhythmia from normal sinus rhythm from the ECG. The methodology consists of R-point detection using the Pan-Tompkins algorithm, discrete wavelet transform (DWT) decomposition, sub-band principal component analysis (PCA), statistical validation of features, and subsequent pattern classification. The k-fold cross validation is used in order to reduce the bias in choosing training and testing sets for classification. The average accuracy of classification is used as a benchmark for comparison. Different classifiers used are Gaussian mixture model (GMM), error back propagation neural network (EBPNN), and support vector machine (SVM). The DWT basis functions used are Daubechies-4, Daubechies-6, Daubechies-8, Symlet-2, Symlet-4, Symlet-6, Symlet-8, Coiflet-2, and Coiflet-5. An attempt is made to exploit the energy compaction in the wavelet sub-bands to yield higher classification accuracy. Results indicate that the Symlet-2 wavelet basis function provides the highest accuracy in classification. Among the classifiers, SVM yields the highest classification accuracy, whereas EBPNN yields a higher accuracy than GMM. The use of other time frequency representations using different time frequency kernels as a future direction is also observed. The developed machine-learning approach can be used in a web-based telemedicine system, which can be used in remote monitoring of patients in many healthcare informatics systems.


Arrhythmia Normal sinus rhythm DWT SVM Neural network GMM 


  1. 1.
    Fauci AS, Braunwald E, Kesper DL, Hauser SL, Longo DL, Jamesonn JL, Loscalzo J (2008) Harrison’s principles of internal medicine, 17th edn. Mc-Graw Hill, New YorkGoogle Scholar
  2. 2.
    Park K (2005) Park’s textbook of preventive and social medicine, 18th edn. Banarsidas Bhanot publishers, IndiaGoogle Scholar
  3. 3.
    Guyton AC, Hall JE (2006) Textbook of medical physiology, 11th edn. W. B Saunders Co, PhiladelphiaGoogle Scholar
  4. 4.
    Pan J, Tompkins WJ (1985) A real time QRS detection algorithm. IEEE Trans Biomed Eng 32(3):230–236CrossRefGoogle Scholar
  5. 5.
    Li C, Zheng C, Tai C (1995) Detection of ECG characteristic points using wavelet transforms. IEEE Trans Biomed Eng 42(1):21–29CrossRefGoogle Scholar
  6. 6.
    Martinez JP, Almeida R, Olmos S, Rocha AP, Laguna P (2004) A wavelet based ECG delineator: evaluation on standard databases. IEEE Trans Biomed Eng 51(4):570–581CrossRefGoogle Scholar
  7. 7.
    Throne RD, Jenkins JM, Winston SA, DiCarlo LA (1991) A comparison of four new time domain techniques for discriminating monomorphic ventricular tachycardia from sinus rhythm using ventricular waveform morphology. IEEE Trans Biomed Eng 38(6):561–570CrossRefGoogle Scholar
  8. 8.
    Krasteva V, Jekova I (2007) QRS template matching for recognition of ventricular ectopic beats. Ann Biomed Eng 35(12):2065–2076CrossRefGoogle Scholar
  9. 9.
    Martis RJ, Chakraborty C, Ray AK (2009) A two stage mechanism for registration and classification of ECG using gaussian mixture model. Pattern Recogn 42(11):2979–2988CrossRefzbMATHGoogle Scholar
  10. 10.
    Martis RJ, Krishnan MM, Chakraborty C, Pal S, Sarkar D, Mandana KM, et al (2012) Automated screening of arrhythmia using wavelet based machine learning techniques. J Med Syst 36(2):677–688 Google Scholar
  11. 11.
    Vaidyanathan PP (2004) Multirate systems and filter banks. Pearson education (Asia) Pte. Ltd, DelhiGoogle Scholar
  12. 12.
    Oppenheim AO, Schaffer RA (2003) Discrete time signal processing. Mc-Graw Hill edition, New YorkGoogle Scholar
  13. 13.
    Addison PS (2005) Wavelet transforms and the ECG: a review. Physiol Meas 26(5): R155–199Google Scholar
  14. 14.
    Strang G, Nguyen T (1996) Wavelets and filter banks. Willesley Cambridge Press, MAGoogle Scholar
  15. 15.
    Duda R, Hart P, Stork D (2001) Pattern classification, 2nd edn. Wiley, New YorkGoogle Scholar
  16. 16.
    Gun AM, Gupta MK., Dasgupta B (2008) Fundamentals of statistics (Vol. I and II), 4th edn. World Press Private Ltd, KolkataGoogle Scholar
  17. 17.
    Bishop C (1995) Neural networks for pattern recognition. Oxford University press, New YorkGoogle Scholar
  18. 18.
    Christianini N, Taylor JS (2000) An introduction to support vector machines and other kernel based learning methods, Cambridge university press, CambridgeGoogle Scholar
  19. 19.
    Gunn S (1998) Support vector machines for classification and regression, Technical report, University of SouthamptonGoogle Scholar
  20. 20.
    Schneider J (1997) Cross validation.∼schneide/tu5/node42.html. Accessed 15 Aug 2010Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2014

Authors and Affiliations

  • Roshan Joy Martis
    • 1
    Email author
  • Chandan Chakraborty
    • 1
  • Ajoy Kumar Ray
    • 2
  1. 1.School of Medical Science and TechnologyIITKharagpurIndia
  2. 2.Department of Electronics and Electrical Communication EngineeringIITKharagpurIndia

Personalised recommendations