• Logo
  • HamaraJournals

Developing an apnea-hypopnea diagnostic model using SVM

Zeinab Kohzadi, Reza Safdari, Khosro Sadeghniiat Haghighi



Introduction: Among sleep-related disorders, Sleep apnea has been under more attention and it’s the most common respiratory disorder in which respiration ceases frequently which can lead to serious health disorders and even mortality. Polysomnography is the standard method for diagnosing this disease at the moment which is costly and time-consuming. The aim of the present study was to analyze essential signals for the diagnosis of sleep apnea.

Method: This analytical–descriptive was conducted on 50 patients (11 normal, 13 mild, 17 moderate and 9 severe patients) in the sleep clinic of Imam Khomeini hospital. Initially, data pre-processing was carried out in two steps(and Moving Average algorihtm). Next, using the SVD method, 12 features were extracted for airflow. Finally, to classify data, SVM with Quadratic, Polynomia and RBF kernels were trained and tested.

Results: After applying different kernel functions on SVM, the RBF kernel showed the most efficient performance. After running the RBF kernel function ten times, the mean accuracy obtained for normal, apnea, and hypopnea modes were 92.74%, 91.70%, 93.26%.

Conclusion: The results indicate that in online applications or applications in which volume and time calculations and the result are important simultaneously, patients could be diagnosed with acceptable accuracy using machine learning algorithms.



Roehrs T, Kapke A, Roth T, Breslau N. Sex differences in the polysomnographic sleep of young adults: A community-based study. Sleep Med. 2006; 7(1): 49-53. PMID: 16194623 DOI: 10.1016/j.sleep.2005.05.008

Chung K. Use of the Epworth Sleepiness Scale in Chinese patients with obstructive sleep apnea and normal hospital employees. J Psychosom Res. 2000; 49(5): 367-72. PMID: 11164062 DOI: 10.1016/s0022-3999(00)00186-0

Quan S, Gillin JC, Littner M, Shepard J. Sleep-related breathing disorders in adults: Recommendations for syndrome definition and measurement techniques in clinical research. Sleep. 1999; 22(5): 667-89. PMID: 10450601

Coren S. Sleep thieves: An eye-opening exploration into the science and mysteries of sleep. Simon & Schuster; 1996.

Young T, Palta M, Dempsey J, Skatrud J, Weber S, Badr S. The occurrence of sleep-disordered breathing among middle-aged adults. N Engl J Med. 1993; 328(17): 1230-5. PMID: 8464434 DOI: 10.1056/NEJM199304293281704

Young T, Evans L, Finn L, Palta M. Estimation of the clinically diagnosed proportion of sleep apnea syndrome in middle-aged men and women. Sleep. 1997; 20(9): 705-6. PMID: 9406321 DOI: 10.1093/sleep/20.9.705

Tufik S, Santos-Silva R, Taddei JA, Bittencourt LRA. Obstructive sleep apnea syndrome in the Sao Paulo epidemiologic sleep study. Sleep Med. 2010; 11(5): 441-6. PMID: 20362502 DOI: 10.1016/j.sleep.2009.10.005

Aguiar M, Valenca J, Felizardo M, Caeiro F, Moreira S, Staats R, et al. Obstructive sleep apnoea syndrome as a cause of road traffic accidents. Rev Port Pneumol. 2009; 15(3): 419-31. PMID: 19401792

Peppard PE, Young T, Palta M, Skatrud J. Prospective study of the association between sleep-disordered breathing and hypertension. N Engl J Med. 2000; 342(19): 1378-84. PMID: 10805822 DOI: 10.1056/NEJM200005113421901

Yaggi HK, Concato J, Kernan WN, Lichtman JH, Brass LM, Mohsenin V. Obstructive sleep apnea as a risk factor for stroke and death. N Engl J Med. 2005; 353(19): 2034-41. PMID: 16282178 DOI: 10.1056/NEJMoa043104

Penzel T, Kemp B, Klosch G, Schlogl A, Hasan J, Varri A, et al. Acquisition of biomedical signals databases. IEEE Eng Med Biol Mag. 2001; 20(3): 25-32. PMID: 11446206 DOI: 10.1109/51.932721

Patil SP, Schneider H, Schwartz AR, Smith PL. Adult obstructive sleep apnea: Pathophysiology and diagnosis. Chest. 2007; 132(1): 325-37. PMID: 17625094 DOI: 10.1378/chest.07-0040

Bennett J, Kinnear W. Sleep on the cheap: The role of overnight oximetry in the diagnosis of sleep apnoea hypopnoea syndrome. Thorax. 1999; 54(11): 958-9. PMID: 10525549 DOI: 10.1136/thx.54.11.958

Flemons WW, Littner MR, Rowley JA, Gay P, Anderson WM, Hudgel DW, et al. Home diagnosis of sleep apnea: A systematic review of the literature. An evidence review cosponsored by the American Academy of Sleep Medicine, the American College of Chest Physicians, and the American Thoracic Society. Chest. 2003;124(4):1543-79. PMID: 14555592 DOI: 10.1378/chest.124.4.1543

Várady P, Micsik T, Benedek S, Benyó Z. A novel method for the detection of apnea and hypopnea events in respiration signals. IEEE Trans Biomed Eng. 2002; 49(9): 936-42. PMID: 12214883 DOI: 10.1109/TBME.2002.802009

Nguyen HD, Wilkins BA, Cheng Q, Benjamin BA. An online sleep apnea detection method based on recurrence quantification analysis. IEEE J Biomed Health Inform. 2014; 18(4): 1285-93. PMID: 25014935 DOI: 10.1109/JBHI.2013.2292928

Hassan AR, Haque MA. Computer-aided obstructive sleep apnea screening from single-lead electrocardiogram using statistical and spectral features and bootstrap aggregating. Biocybernetics and Biomedical Engineering. 2016; 36(1): 256-66.

Gutiérrez-Tobal GC, Álvarez D, Crespo A, Del Campo F, Hornero R. Evaluation of machine-learning approaches to estimate sleep apnea severity from at-home oximetry recordings. IEEE J Biomed Health Inform. 2019; 23(2): 882-92. PMID: 29993673 DOI: 10.1109/JBHI.2018.2823384

Taran S, Bajaj V. Sleep apnea detection using artificial bee colony optimize hermite basis functions for EEG signals. IEEE Transactions on Instrumentation and Measurement. 2019; 69(2): 608-16.

Stevenson M, Porter JE. Fuzzy time series forecasting using percentage change as the universe of discourse. International Journal of Mathematical, Computational, Physical, Electrical and Computer Engineering. 2009; 3: 464-7.

Steinwart I, Christmann A. Support vector machines. Springer Science & Business Media; 2008.

Vapnik V, Chervonenkis A. The necessary and sufficient conditions for consistency in the empirical risk minimization method. Pattern Recognition and Image Analysis. 1991; 1(3): 283-305.

Goh K-S, Chang E, Cheng K-T. SVM binary classifier ensembles for image classification. International conference on Information and knowledge management. ACM; 2001.

Ghassemian H, Landgrebe DA. Object-oriented feature extraction method for image data compaction. IEEE Control Systems Magazine. 1988; 8(3): 42-8.

Hamet P, Tremblay J. Artificial intelligence in medicine. Metabolism. 2017; 69: S36-S40.

Morillo DS, Rojas JL, Crespo LF, León A, Gross N. Poincaré analysis of an overnight arterial oxygen saturation signal applied to the diagnosis of sleep apnea hypopnea syndrome. Physiol Meas. 2009; 30(4): 405-20. PMID: 19332895 DOI: 10.1088/0967-3334/30/4/005

Ciołek M, Niedźwiecki M, Sieklicki S, Drozdowski J, Siebert J. Automated detection of sleep apnea and hypopnea events based on robust airflow envelope tracking in the presence of breathing artifacts. IEEE J Biomed Health Inform. 2015; 19(2): 418-29. PMID: 24876133 DOI: 10.1109/JBHI.2014.2325997

Lee H, Park J, Kim H, Lee K-J. New rule-based algorithm for real-time detecting sleep apnea and hypopnea events using a nasal pressure signal. J Med Syst. 2016; 40(12): 282. PMID: 27787786 DOI: 10.1007/s10916-016-0637-8

Gutiérrez-Tobal GC, Álvarez D, del Campo F, Hornero R. Utility of AdaBoost to detect sleep apnea-hypopnea syndrome from single-channel airflow. IEEE Trans Biomed Eng. 2016; 63(3): 636-46. PMID: 26276985 DOI: 10.1109/TBME.2015.2467188

DOI: http://dx.doi.org/10.30699/fhi.v10i1.237


  • There are currently no refbacks.