Abstract
In this study, we propose a method for detecting obstructive sleep apnea (OSA) based on the features extracted from empirical mode decomposition (EMD) and the neural networks trained by particle swarm optimization (PSO) in the classification phase. After extracting the features from the intrinsic mode functions (IMF) of each heart rate variability (HRV) signal of each segment, these features were applied to the input of popular classifiers such as multi-layer perceptron neural networks (MLPNN), Naïve Bayes, linear discriminant analysis (LDA), k-nearest neighborhood (KNN), and support vector machines (SVM) were applied. The results show that the MLPNN learned with back propagation (BP) algorithm has a diagnostic accuracy of less than 90%, and this may be due to being derivative based property of the BP algorithm, which causes trapping in the local minima. For Improving MLPNN’s performance, we used the PSO algorithm instead of the BP method in training part. Therefore, the MLPNN’s accuracy improved from 89.36 to 97.66% after the application of the PSO algorithm. The proposed method has also reached to 97.78 and 97.96% in sensitivity and specificity, respectively. So, it can be concluded that the proposed method achieves better or comparable results when compared with the previous works in this field.
Acknowledgments
Not applicable.
-
Research funding: None declared.
-
Author contributions: All authors have accepted responsibility for the entire content of this manuscript and approved its submission.
-
Competing interests: Authors state no conflict of interest.
-
Informed consent: Informed consent was obtained from all individuals included in this study.
-
Ethical approval: The local Institutional Review Board deemed the study exempt from review.
References
1. Varon, C, Caicedo, A, Testelmans, D, Buyse, B, Van Huffel, S. A novel algorithm for the automatic detection of sleep apnea from single-lead ECG. IEEE Trans Biomed Eng 2015;62:2269–78. https://doi.org/10.1109/tbme.2015.2422378.Search in Google Scholar PubMed
2. Abdel-Mageed, FZ, Abou Chadi, FEZ, Salah, HM, Loza, SF. K9. Detection of Sleep Apnea Events using analysis of thoraco-abdominal excursion signals and adaptive neuro-fuzzy inference system (ANFIS). In: 2012 29th national radio science conference (NRSC). IEEE; Cairo, 2012.10.1109/NRSC.2012.6208584Search in Google Scholar
3. Guijarro-Berdiñas, B, Hernández-Pereira, E, Peteiro-Barral, D. A mixture of experts for classifying sleep apneas. Expert Syst Appl 2012;39:7084–92. https://doi.org/10.1016/j.eswa.2012.01.037.Search in Google Scholar
4. Khandoker, AH, Palaniswami, M. Modeling respiratory movement signals during central and obstructive sleep apnea events using electrocardiogram. Ann Biomed Eng 2011;39:801–11. https://doi.org/10.1007/s10439-010-0189-x.Search in Google Scholar PubMed
5. Hassan, AR, Haque, MA. Computer-aided sleep apnea diagnosis from single-lead electrocardiogram using dual tree complex wavelet transform and spectral features. In: 2015 international conference on electrical & electronic engineering (ICEEE). IEEE, Rajshahi; 2015.10.1109/CEEE.2015.7428289Search in Google Scholar
6. Hassan, AR. Automatic screening of obstructive sleep apnea from single-lead electrocardiogram. In: 2015 international conference on electrical engineering and information communication technology (ICEEICT). IEEE, Savar, Bangladesh; 2015.10.1109/ICEEICT.2015.7307522Search in Google Scholar
7. Nguyen, HD, Wilkins, BA, Cheng, Q, Benjamin, BA. An online sleep apnea detection method based on recurrence quantification analysis. IEEE J Biomed Heal Informatics 2013;18:1285–93.10.1109/JBHI.2013.2292928Search in Google Scholar PubMed
8. Finamore, P, Scarlata, S, Cardaci, V, Antonelli Incalzi, R. Exhaled breath analysis in obstructive sleep apnea syndrome: a review of the literature. Medicina (B Aires) 2019;55:538. https://doi.org/10.3390/medicina55090538.Search in Google Scholar PubMed PubMed Central
9. Rachim, VP, Li, G, Chung, W-Y. Sleep apnea classification using ECG-signal wavelet-PCA features. Biomed Mater Eng 2014;24:2875–82. https://doi.org/10.3233/bme-141106.Search in Google Scholar PubMed
10. Hassan, AR. Computer-aided obstructive sleep apnea detection using normal inverse Gaussian parameters and adaptive boosting. Biomed Signal Process Contr 2016;29:22–30. https://doi.org/10.1016/j.bspc.2016.05.009.Search in Google Scholar
11. Hassan, AR, Haque, MA. An expert system for automated identification of obstructive sleep apnea from single-lead ECG using random under sampling boosting. Neurocomputing 2017;235:122–30. https://doi.org/10.1016/j.neucom.2016.12.062.Search in Google Scholar
12. Smruthy, A, Suchetha, M. Real-time classification of healthy and apnea subjects using ECG signals with variational mode decomposition. IEEE Sensor J 2017;17:3092–9. https://doi.org/10.1109/jsen.2017.2690805.Search in Google Scholar
13. Al-Angari, HM, Sahakian, AV. Automated recognition of obstructive sleep apnea syndrome using support vector machine classifier. IEEE Trans Inf Technol Biomed 2012;16:463–8. https://doi.org/10.1109/titb.2012.2185809.Search in Google Scholar PubMed PubMed Central
14. de Chazal, P, Penzel, T, Heneghan, C. Automated detection of obstructive sleep apnoea at different time scales using the electrocardiogram. Physiol Meas 2004;25:967. https://doi.org/10.1088/0967-3334/25/4/015.Search in Google Scholar PubMed
15. Li, K, Pan, W, Li, Y, Jiang, Q, Liu, G. A method to detect sleep apnea based on deep neural network and hidden Markov model using single-lead ECG signal. Neurocomputing 2018;294:94–101. https://doi.org/10.1016/j.neucom.2018.03.011.Search in Google Scholar
16. Poupard, L, Philippe, C, Goldman, MD, Sartène, R, Mathieu, M. Novel mathematical processing method of nocturnal oximetry for screening patients with suspected sleep apnoea syndrome. Sleep Breath 2012;16:419–25. https://doi.org/10.1007/s11325-011-0518-9.Search in Google Scholar PubMed
17. Ravelo-García, AG, Kraemer, JF, Navarro-Mesa, JL, Hernández-Pérez, E, Navarro-Esteva, J, Juliá-Serdá, G, et al.. Oxygen saturation and RR intervals feature selection for sleep apnea detection. Entropy 2015;17:2932–57. https://doi.org/10.3390/e17052932.Search in Google Scholar
18. Janbakhshi, P, Shamsollahi, MB. Sleep apnea detection from single-lead ECG using features based on ECG-derived respiration (EDR) signals. IRBM 2018;39:206–18. https://doi.org/10.1016/j.irbm.2018.03.002.Search in Google Scholar
19. Sharma, H, Sharma, KK. An algorithm for sleep apnea detection from single-lead ECG using Hermite basis functions. Comput Biol Med 2016;77:116–24. https://doi.org/10.1016/j.compbiomed.2016.08.012.Search in Google Scholar PubMed
20. Nishad, A, Pachori, RB, Acharya, UR. Application of TQWT based filter-bank for sleep apnea screening using ECG signals. J Ambient Intell Humaniz Comput 2018:1–12.10.1007/s12652-018-0867-3Search in Google Scholar
21. Sharma, M, Agarwal, S, Acharya, UR. Application of an optimal class of antisymmetric wavelet filter banks for obstructive sleep apnea diagnosis using ECG signals. Comput Biol Med 2018;100:100–13. https://doi.org/10.1016/j.compbiomed.2018.06.011.Search in Google Scholar PubMed
22. Yücelbaş, Ş, Yücelbaş, C, Tezel, G, Özşen, S, Küççüktürk, S, Yosunkaya, Ş. Pre-determination of OSA degree using morphological features of the ECG signal. Expert Syst Appl 2017;81:79–87.10.1016/j.eswa.2017.03.049Search in Google Scholar
23. Lakhan, P, Ditthapron, A, Banluesombatkul, N, Wilaiprasitporn, T. Deep neural networks with weighted averaged overnight airflow features for sleep apnea-hypopnea severity classification. In: TENCON 2018 – 2018 IEEE region 10 conference. IEEE, Jeju, Korea (South); 2018.10.1109/TENCON.2018.8650491Search in Google Scholar
24. Banluesombatkul, N, Rakthanmanon, T, Wilaiprasitporn, T. Single channel ECG for obstructive sleep apnea severity detection using a deep learning approach. In: TENCON 2018 – 2018 IEEE region 10 conference. IEEE, Jeju, Korea (South); 2018.10.1109/TENCON.2018.8650429Search in Google Scholar
25. Liu, D, Yang, X, Wang, G, Ma, J, Liu, Y, Peng, C-K, et al.. HHT based cardiopulmonary coupling analysis for sleep apnea detection. Sleep Med 2012;13:503–9. https://doi.org/10.1016/j.sleep.2011.10.035.Search in Google Scholar PubMed
26. Tripathy, RK. Application of intrinsic band function technique for automated detection of sleep apnea using HRV and EDR signals. Biocybern Biomed Eng 2018;38:136–44. https://doi.org/10.1016/j.bbe.2017.11.003.Search in Google Scholar
27. Bozkurt, F, Uçar, MK, Bozkurt, MR, Bilgin, C. Detection of abnormal respiratory events with single channel ECG and hybrid machine learning model in patients with obstructive sleep apnea. IRBM 2020;41:241–51. https://doi.org/10.1016/j.irbm.2020.05.006.Search in Google Scholar
28. Singh, H, Tripathy, RK, Pachori, RB. Detection of sleep apnea from heart beat interval and ECG derived respiration signals using sliding mode singular spectrum analysis. Digit Signal Process 2020;104:102796. https://doi.org/10.1016/j.dsp.2020.102796.Search in Google Scholar
29. Penzel, T, McNames, J, De Chazal, P, Raymond, B, Murray, A, Moody, G. Systematic comparison of different algorithms for apnoea detection based on electrocardiogram recordings. Med Biol Eng Comput 2002;40:402–7. https://doi.org/10.1007/bf02345072.Search in Google Scholar
30. Xie, B, Minn, H. Real-time sleep apnea detection by classifier combination. IEEE Trans Inf Technol Biomed 2012;16:469–77. https://doi.org/10.1109/titb.2012.2188299.Search in Google Scholar
31. Penzel, T, Moody, GB, Goldberger, AL. The Apnea-ECG database. Comput Cardiol 2000;27:255–8. https://www.physionet.org/content/apnea-ecg/1.0.0/.10.1109/CIC.2000.898505Search in Google Scholar
32. Siddiqui, F, Walters, AS, Goldstein, D, Lahey, M, Desai, H. Half of patients with obstructive sleep apnea have a higher NREM AHI than REM AHI. Sleep Med 2006;7:281–5. https://doi.org/10.1016/j.sleep.2005.10.006.Search in Google Scholar PubMed
33. Bawa, K, Sabherwal, P. R-peak detection by modified Pan-Tompkins algorithm. Int J Adv Res Technol 2014;3:30–3.Search in Google Scholar
34. Agostinelli, A, Marcantoni, I, Moretti, E, Sbrollini, A, Fioretti, S, Di Nardo, F, et al.. Noninvasive fetal electrocardiography part I: Pan-Tompkins’ algorithm adaptation to fetal R-peak identification. Open Biomed Eng J 2017;11:17. https://doi.org/10.2174/1874120701711010017.Search in Google Scholar PubMed PubMed Central
35. Huang, NE, Shen, Z, Long, SR, Wu, MC, Shih, HH, Zheng, Q, et al.. The empirical mode decomposition and the Hilbert spectrum for nonlinear and non-stationary time series analysis. Proc R Soc London Ser A Math Phys Eng Sci 1998;454:903–95. https://doi.org/10.1098/rspa.1998.0193.Search in Google Scholar
36. Bernal, D, Gunes, B. An examination of instantaneous frequency as a damage detection tool. In: Proceedings of 14th Engineering Mechanics Conference, Austin, TX; 2000:398–405 pp. http://www1.coe.neu.edu/∼bernal/if.pdf.Search in Google Scholar
37. Ahmadi, H, Ekhlasi, A. Types of EMD algorithms. In: 2019 5th Iranian conference on signal processing and intelligent systems (ICSPIS). Shahrood, Iran: IEEE; 2019.10.1109/ICSPIS48872.2019.9066155Search in Google Scholar
38. Chen, M, He, A, Feng, K, Liu, G, Wang, Q. Empirical mode decomposition as a novel approach to study heart rate variability in congestive heart failure assessment. Entropy 2019;21:1169. https://doi.org/10.3390/e21121169.Search in Google Scholar
39. Pan, W, He, A, Feng, K, Li, Y, Wu, D, Liu, G. Multi-frequency components entropy as novel heart rate variability indices in congestive heart failure assessment. IEEE Access 2019;7:37708–17. https://doi.org/10.1109/access.2019.2896342.Search in Google Scholar
40. Kennedy, J, Eberhart, R. Particle swarm optimization. In: Proceedings of ICNN’95-international conference on neural networks. IEEE, Perth, WA, Australia; 1995.10.1109/ICNN.1995.488968Search in Google Scholar
41. Pang, S, Ozawa, S, Kasabov, N. Incremental linear discriminant analysis for classification of data streams. IEEE Trans Syst Man, Cybern Part B 2005;35:905–14. https://doi.org/10.1109/tsmcb.2005.847744.Search in Google Scholar PubMed
42. Cortes, C, Vapnik, V. Support-vector networks. Mach Learn 1995;20:237–97. https://doi.org/10.1007/bf00994018.Search in Google Scholar
43. Altman, NS. An introduction to kernel and nearest-neighbor nonparametric regression. Am Statistician 1992;46:175–85. https://doi.org/10.2307/2685209.Search in Google Scholar
44. Islam, MJ, Wu, QMJ, Ahmadi, M, Sid-Ahmed, MA. Investigating the performance of naive-bayes classifiers and k-nearest neighbor classifiers. In: 2007 international conference on convergence information technology (ICCIT 2007). IEEE, Gwangju, Korea (South); 2007.10.1109/ICCIT.2007.148Search in Google Scholar
45. Orhan, U, Hekim, M, Ozer, M. EEG signals classification using the K-means clustering and a multilayer perceptron neural network model. Expert Syst Appl 2011;38:13475–81. https://doi.org/10.1016/j.eswa.2011.04.149.Search in Google Scholar
46. Goldberg, DE, Holland, JH. Genetic algorithms and machine learning. Mach Learn 1988;3:95–9.10.1023/A:1022602019183Search in Google Scholar
47. Simon, D. Biogeography-based optimization. IEEE Trans Evol Comput 2008;12:702–13. https://doi.org/10.1109/tevc.2008.919004.Search in Google Scholar
48. Dorigo, M, Birattari, M, Stutzle, T. Ant colony optimization. IEEE Comput Intell Mag 2006;1:28–39. https://doi.org/10.1109/mci.2006.329691.Search in Google Scholar
49. Afrakhteh, S, Mosavi, M-R, Khishe, M, Ayatollahi, A. Accurate classification of EEG signals using neural networks trained by hybrid population-physic-based algorithm. Int J Autom Comput 2020;17:108–22. https://doi.org/10.1007/s11633-018-1158-3.Search in Google Scholar
50. Mosavi, MR, Ayatollahi, A, Afrakhteh, S. An efficient method for classifying motor imagery using CPSO-trained ANFIS prediction. Evol Syst 2019:1–18.10.1007/s12530-019-09280-xSearch in Google Scholar
51. Afrakhteh, S, Mosavi, MR. Applying an efficient evolutionary algorithm for EEG signal feature selection and classification in decision-based systems. In: Energy efficiency of medical devices and healthcare applications. United Kingdom: Elsevier; 2020:25–52 pp. https://doi.org/10.1016/B978-0-12-819045-6.00002-9.Search in Google Scholar
52. Afrakhteh, S, Mosavi, MR. An efficient method for selecting the optimal features using evolutionary algorithms for epilepsy diagnosis. J Circ Syst Comput 2020;29:2050195. https://doi.org/10.1142/s0218126620501959.Search in Google Scholar
53. Singh, SA, Majumder, S. A novel approach OSA detection using single-lead ECG scalogram based on deep neural network. J Mech Med Biol 2019;19:1950026. https://doi.org/10.1142/s021951941950026x.Search in Google Scholar
54. Wang, X, Cheng, M, Wang, Y, Liu, S, Tian, Z, Jiang, F, et al.. Obstructive sleep apnea detection using ecg-sensor with convolutional neural networks. Multimed Tool Appl 2020;79:15813–27. https://doi.org/10.1007/s11042-018-6161-8.Search in Google Scholar
55. Wang, T, Lu, C, Shen, G, Hong, F. Sleep apnea detection from a single-lead ECG signal with automatic feature-extraction through a modified LeNet-5 convolutional neural network. Peer J 2019;7:e7731. https://doi.org/10.7717/peerj.7731.Search in Google Scholar PubMed PubMed Central
56. Tripathy, RK, Gajbhiye, P, Acharya, UR. Automated sleep apnea detection from cardio-pulmonary signal using bivariate fast and adaptive EMD coupled with cross time–frequency analysis. Comput Biol Med 2020;120:103769. https://doi.org/10.1016/j.compbiomed.2020.103769.Search in Google Scholar PubMed
57. Chen, L, Zhang, X, Wang, H. An obstructive sleep apnea detection approach using kernel density classification based on single-lead electrocardiogram. J Med Syst 2015;39:1–11. https://doi.org/10.1007/s10916-015-0222-6.Search in Google Scholar PubMed
58. Choi, SH, Yoon, H, Kim, HS, Kim, HB, Kwon, HB, Oh, SM, et al.. Real-time apnea-hypopnea event detection during sleep by convolutional neural networks. Comput Biol Med 2018;100:123–31. https://doi.org/10.1016/j.compbiomed.2018.06.028.Search in Google Scholar PubMed
59. Fatimah, B, Singh, P, Singhal, A, Pachori, RB. Detection of apnea events from ecg segments using fourier decomposition method. Biomed Signal Process Contr 2020;61:102005. https://doi.org/10.1016/j.bspc.2020.102005.Search in Google Scholar
60. Feng, K, Qin, H, Wu, S, Pan, W, Liu, G. A sleep apnea detection method based on unsupervised feature learning and single-lead electrocardiogram. IEEE Trans Instrum Meas 2020;70:1–12.10.1109/TIM.2020.3017246Search in Google Scholar
61. Li, Y, Wu, S, Yang, Q, Liu, G, Ge, L. Application of the variance delay fuzzy approximate entropy for autonomic nervous system fluctuation analysis in obstructive sleep apnea patients. Entropy 2020;22:915. https://doi.org/10.3390/e22090915.Search in Google Scholar PubMed PubMed Central
62. Li, Y, Pan, W, Li, K, Jiang, Q, Liu, G. Sliding trend fuzzy approximate entropy as a novel descriptor of heart rate variability in obstructive sleep apnea. IEEE J Biomed Heal Informatics 2018;23:175–83.10.1109/JBHI.2018.2790968Search in Google Scholar PubMed
Supplementary Material
The online version of this article offers supplementary material (https://doi.org/10.1515/bmt-2021-0025).
© 2021 Walter de Gruyter GmbH, Berlin/Boston
Articles in the same Issue
- Frontmatter
- Research Articles
- Changes in muscle activities and kinematics due to simulated leg length inequalities
- A principal component analysis (PCA) based assessment of the gait performance
- Classification of sleep apnea using EMD-based features and PSO-trained neural networks
- An efficient design for real-time obstructive sleep apnea OSA detection through esophageal pressure Pes signal
- Short duration Vectorcardiogram based inferior myocardial infarction detection: class and subject-oriented approach
- An improved parallel sub-filter adaptive noise canceler for the extraction of fetal ECG
- Classification of impedance cardiography dZ/dt complex subtypes using pattern recognition artificial neural networks
- No more rattling: biomechanical evaluation of a hexapod ring fixator free of play
Articles in the same Issue
- Frontmatter
- Research Articles
- Changes in muscle activities and kinematics due to simulated leg length inequalities
- A principal component analysis (PCA) based assessment of the gait performance
- Classification of sleep apnea using EMD-based features and PSO-trained neural networks
- An efficient design for real-time obstructive sleep apnea OSA detection through esophageal pressure Pes signal
- Short duration Vectorcardiogram based inferior myocardial infarction detection: class and subject-oriented approach
- An improved parallel sub-filter adaptive noise canceler for the extraction of fetal ECG
- Classification of impedance cardiography dZ/dt complex subtypes using pattern recognition artificial neural networks
- No more rattling: biomechanical evaluation of a hexapod ring fixator free of play