Skip to main content

Automatic Obstructive Sleep Apnea Identification Using First Order Statistics Features of Electrocardiogram and Machine Learning

  • Conference paper
  • First Online:
Proceedings of the 4th International Conference on Electronics, Biomedical Engineering, and Health Informatics (ICEBEHI 2023)

Abstract

Obstructive Sleep Apnea (OSA), or cessation of breathing during sleep, is caused by a blocked upper airway. OSA is one of the causes of sudden death caused by heart failure during sleep. Given the impact of OSA, early detection is therefore necessary. This article presents an innovation in OSA detection using first-order statistical features of an electrocardiogram (ECG) and machine learning. The first-order statistical features were obtained from the RR interval of the ECG single-lead. Various statistical features were evaluated for OSA detection. Moreover, machine learning techniques such as Linear Discriminant Analysis (LDA), Artificial Neural Networks (ANN), K-Nearest Neighbors (K-NN), and Support Vector Machines (SVM) were investigated for OSA detection. The accuracy, sensitivity, and accuracy values of each classification are the performance outcomes of machine learning. The proposed OSA detection method was validated using clinical data from patients diagnosed with sleep apnea. When using KNN for OSA detection, the results showed an accuracy of 83.91%, sensitivity of 92.31%, and specificity of 67.19%. Using SVM, the OSA detection demonstrated an accuracy of 83.75%, sensitivity of 92.97%, and specificity of 65.80%. The ANN method for OSA detection yielded an accuracy of 80.83%, sensitivity of 92.67%, and specificity of 59.25%. Lastly, OSA detection using LDA exhibited an accuracy of 79.27%, sensitivity of 82.27%, and specificity of 73.29%. From the results, it was concluded that the KNN classification, with all its features, provided the best performance for OSA detection, achieving the highest accuracy of 83.91%.

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

Access this chapter

Institutional subscriptions

References

  1. de Chazal P et al (2003) Automated processing of the single-lead electrocardiogram for the detection of obstructive sleep apnoea. IEEE Trans Biomed Eng 50(6):686–696

    Article  Google Scholar 

  2. Zhu J et al (2022) Detection of sleep apnea from electrocardiogram and pulse oximetry signals using Random Forest. Appl Sci 12(9):4218–4218

    Article  Google Scholar 

  3. Khandoker AH, Karmakar CK, Palaniswami M (2009) Automated recognition of patients with obstructive sleep apnoea using wavelet-based features of electrocardiogram recordings. Comput Biol Med 39(1):88–96

    Google Scholar 

  4. Li Z et al (2021) A model for obstructive sleep apnea detection using a multi-layer feed-forward neural network based on electrocardiogram, pulse oxygen saturation, and body mass index. Sleep Breath 25(4):2065–2072

    Article  Google Scholar 

  5. Atri R, Mohebbi M (2015) Obstructive sleep apnea detection using spectrum and bispectrum analysis of single-lead ECG signal. Physiol Meas 36(9):1963

    Article  Google Scholar 

  6. Seisdedos VCR, Neto JE, Reyes EJM, Klautau A, de Oliveira RCL (2011) New approach for T-wave end detection on electrocardiogram: performance in noisy conditions. Biomed Eng Online 10(1):1–11

    Google Scholar 

  7. Indrawati AN et al (2022) Obstructive sleep apnea detection using frequency analysis of electrocardiographic RR interval and machine learning algorithms. J Biomed Phys Eng 12(6):627–636

    Google Scholar 

  8. Rajesh KNVPS, Dhuli R, Kumar TS (2021) Obstructive sleep apnea detection using discrete wavelet transform-based statistical features. Comput Biol Med 130:104199–104199

    Google Scholar 

  9. Gürüler H, Şahin M, Ferikoğlu A (2014) Feature selection on single-lead ECG for obstructive sleep apnea diagnosis. Turk J Electr Eng Comput Sci 22(2):465–478

    Article  Google Scholar 

  10. Magnusdottir S, Hilmisson H (2017) Ambulatory screening tool for sleep apnea: analyzing a single-lead electrocardiogram signal (ECG). Sleep Breath 22:421–429

    Article  Google Scholar 

  11. Hassan AR, Haque MA (2016) Computer-aided obstructive sleep apnea screening from single-lead electrocardiogram using statistical and spectral features and bootstrap aggregating. Biocybern Biomed Eng 36(1):256–266

    Article  Google Scholar 

  12. Sharma H, Sharma KK (2020) Sleep apnea detection from ECG using variational mode decomposition. Biomed Phys Eng Express 6(1):015026

    Article  Google Scholar 

  13. Penzel T et al (2000) The apnea-ECG database, pp 255–258; hu EAG (2000) Inside the fast Fourier transform black box: serial and parallel FFT algorithms. CRC Press, FL

    Google Scholar 

  14. Mahran AA, Hapsari RK, Nugroho H (2020) Penerapan Naive Bayes Gaussian Pada Klasifikasi Jenis Jamur Berdasarkan Ciri Statistik Orde Pertama. Netw Eng Res Oper 5(2):91–99

    Google Scholar 

  15. Al Shalabi LSZ, Kasasbeh B (2020) Data mining: a preprocessing engine. J Comput Sci 2006. 2(9)

    Google Scholar 

  16. Zhang Z (2016) Introduction to machine learning: k-nearest neighbors. Ann Transl Med 4(11):218–218

    Article  Google Scholar 

  17. Byun H, Lee S (2003) A survey on pattern recognition applications of support vector machines. Int J Pattern Recognit Artif Intell 17(3):459–486

    Article  Google Scholar 

  18. Ren J (2012) ANN vs. SVM: which one performs better in classification of MCCs in mammogram imaging. Knowl Based Syst 26:144–153

    Google Scholar 

  19. Vanage AM, Khade RH, Shinde DB (2012) Classifying five different arrhythmias by analyzing the ECG signals. IJCEM 15

    Google Scholar 

  20. Abidin Z (2012) Faktor Risiko Penyakit Jantung Koronerpada Pasien Rawat Inap Di cardiovascular care unit (CVCU) cardiac centre Rsup Dr. Wahidin Sudirohusodo Makassar periode Januari-Juli 2008

    Google Scholar 

  21. Lara F (1998) Artificial neural networks: an introduction. Instrum Dev 3(9)

    Google Scholar 

  22. Fukunaga K (2013) Introduction to statistical pattern recognition. Elsevier

    Google Scholar 

  23. Al Shalabi L, Shaaban Z, Kasasbeh B (2006) Data mining: a preprocessing engine. J Comput Sci 2(9):735–739

    Google Scholar 

  24. Zhu W, Zeng N, Wang NN (2010) Health care and life sciences sensitivity, specificity, accuracy, associated confidence interval and ROC analysis with practical SAS® implementations K&L consulting services, Inc., Fort Washington, PA Octagon Research Solutions, Wayne, pp 1–9

    Google Scholar 

  25. Mostafa SS et al (2020) Multi-objective hyperparameter optimization of convolutional neural network for obstructive sleep apnea detection. IEEE Access 8:129586–129599

    Article  Google Scholar 

  26. Jain YK, Bhandare SK (2013) Min Max normalization based data perturbation method for privacy protection. Int J Comput Commun Technol 4(4)

    Google Scholar 

  27. Nguyen HD et al (2014) An online sleep apnea detection method based on recurrence quantification analysis. IEEE J Biomed Health Inform 18(4):1285–1293

    Article  Google Scholar 

  28. Fatiah B et al (2020) Detection of apnea events from ECG segments using Fourier decomposition method. Biomed Signal Process Control 61:102005

    Google Scholar 

  29. Zhang X, Cheng J, Xu C, Lu H, Ma S (nd) LNEE 128—a dynamic batch sampling mode for SVM active learning in image retrieval

    Google Scholar 

  30. Geng Y, Tao D, Chen L, Li G (nd) LNEE 133—recognition of combined arm motions using support vector machine 2(133)

    Google Scholar 

  31. Teyakome J, Eiamkanitchat N (2015) A hybrid approach of neural network and level-2 fuzzy set. Lecture Notes Electr Eng 339:729–736

    Article  Google Scholar 

  32. Bhardwaj A, Gupta A, Jain P, Rani A, Yadav J (2015) Classification of human emotions from EEG signals using SVM and LDA classifiers. In: International conference on signal processing and integrated networks (SPIN), Noida, India. IEEE, pp 180–185

    Google Scholar 

  33. Marcos JV et al (2009) Assessment of four statistical pattern recognition techniques to assist in obstructive sleep apnoea diagnosis from nocturnal oximetry. Med Eng Phys 31(8):971–978

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Nuryani Nuryani .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Indrawati, A.N., Nuryani, N., Wiharto, W., Mirawati, D.K., Utomo, T.P. (2024). Automatic Obstructive Sleep Apnea Identification Using First Order Statistics Features of Electrocardiogram and Machine Learning. In: Triwiyanto, T., Rizal, A., Caesarendra, W. (eds) Proceedings of the 4th International Conference on Electronics, Biomedical Engineering, and Health Informatics. ICEBEHI 2023. Lecture Notes in Electrical Engineering, vol 1182. Springer, Singapore. https://doi.org/10.1007/978-981-97-1463-6_11

Download citation

  • DOI: https://doi.org/10.1007/978-981-97-1463-6_11

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-97-1462-9

  • Online ISBN: 978-981-97-1463-6

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics