Skip to main content

Advertisement

Log in

AF episodes recognition using optimized time-frequency features and cost-sensitive SVM

  • Scientific Paper
  • Published:
Physical and Engineering Sciences in Medicine Aims and scope Submit manuscript

Abstract

Although atrial fibrillation (AF) Arrhythmia is highly prevalent within a wide range of populations with major associated risks and due to its episodic occurrence, its recognition remains a challenge for doctors. This paper aims to present and experimentally validate a new efficient approach for the detection and classification of this cardiac anomaly using multiple Electrocardiogram (ECG) signals. This work consists of applying Stockwell transform (ST) with compact support kernel (ST-CSK) for ECG time-frequency analysis. The estimation of the atrial activity (AA) is then achieved after analyzing P-waves of the ECG signals for each heartbeat. ECG signals segmentation allows characterizing the AA by making use of its (tf) flatness, (tf) flux, energy concentration and heart rate variability. The features matrix is employed as an input of the support vector machines (SVM) working in binary and asymmetrical mode with an embedded reject option. The proposed algorithm is trained and then tested using different ECG sources namely two databases provided by PhysionNet (MIT-BIH Arrhythmia, MIT-BIH Atrial Fibrillation) and recorded ECG signals using MySignals HW development platform with raspberry Pi 3 model B\(+\). The used method has achieved \(98.46\%\) and \(97.81\%\) as sensitivity and specificity, respectively. The obtained results confirm that the proposed approach represents a promising tool for Atrial Fibrillation Episodes (AFE) recognition with significant separability between Normal atrial activity and atrial activity with AF even under real and clinical conditions.

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
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10

Similar content being viewed by others

References

  1. Berkaya SK, Uysal AK, Gunal ES, Ergin S, Gunal S, Gulmezoglu MB (2018) A survey on ecg analysis. Biomed Signal Process Control 43:216–235

    Article  Google Scholar 

  2. Long B, Robertson J, Koyfman A, Maliel K, Warix JR (2018) Emergency medicine considerations in atrial fibrillation. Am J Emerg Med 36(6):1070–1078

    Article  Google Scholar 

  3. Kirchhof P, Benussi S, Kotecha D, Ahlsson A, Atar D, Casadei B, Castella M, Diener HC, Heidbuchel H, Hendriks J et al (2016) 2016 ESC guidelines for the management of atrial fibrillation developed in collaboration with EACTS. Eur J Cardio-thorac Surg 50(5):e1–e88

    Article  Google Scholar 

  4. Altay YA, Kremlev AS, Margun AA (2019) ECG signal filtering approach for detection of P, QRS, T waves and complexes in short single-lead recording. In: 2019 IEEE conference of Russian young researchers in electrical and electronic engineering (EIConRus), IEEE, pp 1135–1140

  5. Gupta V, Mittal M, Mittal V (2020) Chaos theory: an emerging tool for arrhythmia detection. Sens Imaging 21(1):1–22

    Article  Google Scholar 

  6. Panigrahy D, Sahu P (2018) P and T wave detection and delineation of ECG signal using differential evolution (de) optimization strategy. Australas Phys Eng Sci Med 41(1):225–241

    Article  CAS  Google Scholar 

  7. Wang Y, Wang L, Chen X, Zhu W (2016) P wave detection and delineation based on distances transform. In: 2016 IEEE Trustcom/BigDataSE/ISPA, IEEE, pp 2197–2201

  8. Hossain MB, Bashar SK, Walkey AJ, McManus DD, Chon KH (2019) An accurate QRS complex and P wave detection in ECG signals using complete ensemble empirical mode decomposition with adaptive noise approach. IEEE Access 7:128869–128880

    Article  Google Scholar 

  9. Andersen RS, Peimankar A, Puthusserypady S (2019) A deep learning approach for real-time detection of atrial fibrillation. Expert Syst Appl 115:465–473

    Article  Google Scholar 

  10. Costandy RN, Gasser SM, El-Mahallawy MS, Fakhr MW, Marzouk SY (2020) P-wave detection using a fully convolutional neural network in electrocardiogram images. Appl Sci 10(3):976

    Article  Google Scholar 

  11. Corino VD, Laureanti R, Ferranti L, Scarpini G, Lombardi F, Mainardi LT (2017) Detection of atrial fibrillation episodes using a wristband device. Physiol Meas 38(5):787

    Article  Google Scholar 

  12. Fallet S, Lemay M, Renevey P, Leupi C, Pruvot E, Vesin JM (2019) Can one detect atrial fibrillation using a wrist-type photoplethysmographic device? Med Biol Eng Comput 57(2):477–487

    Article  Google Scholar 

  13. Zidelmal Z, Hamil H, Moukadem A, Amirou A, Ould-Abdeslam D (2017) S-transform based on compact support kernel. Digital Signal Process 62:137–149

    Article  Google Scholar 

  14. Meddah K, Talha MK, Bahoura M, Zairi H (2019) FPGA-based system for heart rate monitoring. IET Circuits Devices Syst 13(6):771–782

    Article  Google Scholar 

  15. Yakut O, Solak S, Bolat ED (2015) Implementation of a web-based wireless ecg measuring and recording system. In: 17th international conference on medical physics and medical sciences, Istanbul, 9:815–818

  16. Stockwell RG, Mansinha L, Lowe R (1996) Localization of the complex spectrum: the S transform. IEEE Trans Signal Process 44(4):998–1001

    Article  Google Scholar 

  17. Stockwell RG (2007) A basis for efficient representation of the S-transform. Digital Signal Process 17(1):371–393

    Article  Google Scholar 

  18. Rahul J, Sora M, Sharma LD (2020) Exploratory data analysis based efficient QRS-complex detection technique with minimal computational load. Phys Eng Sci Med 43(3):1049–1067

    Article  Google Scholar 

  19. Adnane M, Jiang Z, Choi S (2009) Development of QRS detection algorithm designed for wearable cardiorespiratory system. Comput Methods Progr Biomed 93(1):20–31

    Article  Google Scholar 

  20. Cohen L (1989) Time-frequency distributions-a review. Proc IEEE 77(7):941–981

    Article  Google Scholar 

  21. Zabihi M, Rad AB, Katsaggelos AK, Kiranyaz S, Narkilahti S, Gabbouj M (2017) Detection of atrial fibrillation in ecg hand-held devices using a random forest classifier. In: 2017 computing in cardiology (CinC), IEEE, pp 1–4

  22. Smoleń D (2017) Atrial fibrillation detection using boosting and stacking ensemble. In: 2017 computing in cardiology (CinC), IEEE, pp 1–4

  23. Couceiro R, Carvalho P, Henriques J, Antunes M, Harris M, Habetha J (2008) Detection of atrial fibrillation using model-based ECG analysis. In: 2008 19th international conference on pattern recognition, IEEE, pp 1–5

  24. Healey J, Logan B (2006) Atrial fibrillation detection method and apparatus. US Patent App. 11/146,745

  25. Boon KH, Khalil-Hani M, Malarvili M, Sia CW (2016) Paroxysmal atrial fibrillation prediction method with shorter HRY sequences. Comput Methods Progr Biomed 134:187–196

    Article  CAS  Google Scholar 

  26. Ghodrati A, Marinello S (2008) Statistical analysis of rr interval irregularities for detection of atrial fibrillation. In: 2008 computers in cardiology, IEEE, pp 1057–1060

  27. Censi F, Corazza I, Reggiani E, Calcagnini G, Mattei E, Triventi M, Boriani G (2016) P-wave variability and atrial fibrillation. Sci Rep 6(1):1–7

    Article  Google Scholar 

  28. Xu X, Wei S, Ma C, Luo K, Zhang L, Liu C (2018) Atrial fibrillation beat identification using the combination of modified frequency slice wavelet transform and convolutional neural networks. J Healthc Eng. https://doi.org/10.1155/2018/2102918

    Article  PubMed  PubMed Central  Google Scholar 

  29. Boashash B, Azemi G, Khan NA (2015) Principles of time-frequency feature extraction for change detection in non-stationary signals: applications to newborn EEG abnormality detection. Pattern Recognit 48(3):616–627

    Article  Google Scholar 

  30. Sejdić E, Djurović I, Jiang J (2009) Time-frequency feature representation using energy concentration: an overview of recent advances. Digital Signal Process 19(1):153–183

    Article  Google Scholar 

  31. Vapnik V (1995) The nature of statistical learning theory. Search PubMed 8:188

    Google Scholar 

  32. Grandvalet Y, Rakotomamonjy A, Keshet J, Canu S (2008) Support vector machines with a reject option. Adv Neural Inf Process Syst 21:537–544

    Google Scholar 

  33. Asgari S, Mehrnia A, Moussavi M (2015) Automatic detection of atrial fibrillation using stationary wavelet transform and support vector machine. Comput Biol Med 60:132–142

    Article  Google Scholar 

  34. Ladavich S, Ghoraani B (2015) Rate-independent detection of atrial fibrillation by statistical modeling of atrial activity. Biomed Signal Process Control 18:274–281

    Article  Google Scholar 

  35. García M, Ródenas J, Alcaraz R, Rieta JJ (2016) Application of the relative wavelet energy to heart rate independent detection of atrial fibrillation. Comput Methods Progr Biomed 131:157–168

    Article  Google Scholar 

  36. Faust O, Shenfield A, Kareem M, San TR, Fujita H, Acharya UR (2018) Automated detection of atrial fibrillation using long short-term memory network with rr interval signals. Comput Biol Med 102:327–335

    Article  Google Scholar 

  37. Kumar M, Pachori RB, Acharya UR (2018) Automated diagnosis of atrial fibrillation ECG signals using entropy features extracted from flexible analytic wavelet transform. Biocybern Biomed Eng 38(3):564–573

    Article  Google Scholar 

  38. He R, Wang K, Zhao N, Liu Y, Yuan Y, Li Q, Zhang H (2018) Automatic detection of atrial fibrillation based on continuous wavelet transform and 2d convolutional neural networks. Front Physiol 9:1206

    Article  Google Scholar 

  39. Xia Y, Wulan N, Wang K, Zhang H (2018) Detecting atrial fibrillation by deep convolutional neural networks. Comput Biol Med 93:84–92

    Article  Google Scholar 

  40. Maršánová L, Němcová A, Smíšek R, Vítek M, Smital L (2019) Advanced P wave detection in ECG signals during pathology: evaluation in different arrhythmia contexts. Sci Rep 9(1):1–11

    Article  Google Scholar 

  41. Erdenebayar U, Kim H, Park JU, Kang D, Lee KJ (2019) Automatic prediction of atrial fibrillation based on convolutional neural network using a short-term normal electrocardiogram signal. J Korean Med Sci 34(7):e64

    Article  Google Scholar 

  42. Kalidas V, Tamil LS (2019) Detection of atrial fibrillation using discrete-state Markov models and random forests. Comput Biol Med 113:103386

    Article  Google Scholar 

  43. Zhang H, He R, Dai H, Xu M, Wang Z (2020) SS-SWT and SI-CNN: an atrial fibrillation detection framework for time-frequency ECG signal. J Healthc Eng. https://doi.org/10.1155/2020/7526825

    Article  PubMed  PubMed Central  Google Scholar 

  44. Hsieh CH, Li YS, Hwang BJ, Hsiao CH (2020) Detection of atrial fibrillation using 1d convolutional neural network. Sensors 20(7):2136

    Article  Google Scholar 

  45. Czabanski R, Horoba K, Wrobel J, Matonia A, Martinek R, Kupka T, Jezewski M, Kahankova R, Jezewski J, Leski JM (2020) Detection of atrial fibrillation episodes in long-term heart rhythm signals using a support vector machine. Sensors 20(3):765

    Article  Google Scholar 

  46. Lown M, Brown M, Brown C, Yue AM, Shah BN, Corbett SJ, Lewith G, Stuart B, Moore M, Little P (2020) Machine learning detection of atrial fibrillation using wearable technology. PLoS ONE 15(1):e0227401

    Article  CAS  Google Scholar 

  47. Petmezas G, Haris K, Stefanopoulos L, Kilintzis V, Tzavelis A, Rogers JA, Katsaggelos AK, Maglaveras N (2021) Automated atrial fibrillation detection using a hybrid CNN-LSTM network on imbalanced ECG datasets. Biomed Signal Process Control 63:102194

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mohamed Salah Azzaz.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Ethical approval

This article does not contain any studies with human or animal subjects performed by any of the authors.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Hamil, H., Zidelmal, Z., Azzaz, M.S. et al. AF episodes recognition using optimized time-frequency features and cost-sensitive SVM. Phys Eng Sci Med 44, 613–624 (2021). https://doi.org/10.1007/s13246-021-01005-2

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s13246-021-01005-2

Keywords

Navigation