Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2022 Nov 9;22(22):8630.
doi: 10.3390/s22228630.

Screening for Obstructive Sleep Apnea Risk by Using Machine Learning Approaches and Anthropometric Features

Affiliations

Screening for Obstructive Sleep Apnea Risk by Using Machine Learning Approaches and Anthropometric Features

Cheng-Yu Tsai et al. Sensors (Basel). .

Abstract

Obstructive sleep apnea (OSA) is a global health concern and is typically diagnosed using in-laboratory polysomnography (PSG). However, PSG is highly time-consuming and labor-intensive. We, therefore, developed machine learning models based on easily accessed anthropometric features to screen for the risk of moderate to severe and severe OSA. We enrolled 3503 patients from Taiwan and determined their PSG parameters and anthropometric features. Subsequently, we compared the mean values among patients with different OSA severity and considered correlations among all participants. We developed models based on the following machine learning approaches: logistic regression, k-nearest neighbors, naïve Bayes, random forest (RF), support vector machine, and XGBoost. Collected data were first independently split into two data sets (training and validation: 80%; testing: 20%). Thereafter, we adopted the model with the highest accuracy in the training and validation stage to predict the testing set. We explored the importance of each feature in the OSA risk screening by calculating the Shapley values of each input variable. The RF model achieved the highest accuracy for moderate to severe (84.74%) and severe (72.61%) OSA. The level of visceral fat was found to be a predominant feature in the risk screening models of OSA with the aforementioned levels of severity. Our machine learning models can be employed to screen for OSA risk in the populations in Taiwan and in those with similar craniofacial structures.

Keywords: anthropometric features; obstructive sleep apnea; polysomnography; random forest; visceral fat level.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest.

Figures

Figure 1
Figure 1
Training process with grid search cross-validation. Various machine learning models were trained using grid search cross-validation (k-fold: 10). The model demonstrating the highest accuracy in the validation stage was employed to predict the testing data, and the feature importance was investigated. Abbreviations: LR, logistic regression; C, regularization values; kNN, k-nearest neighbor; NB, naïve Bayes; var_smoothing, portion of the largest variance of all features; SVM, support vector machine; RF, random forest; n_trees, number of classifications and regression trees; XGBoost, extreme gradient boosting; n_estimators, number of gradient boosted trees; AHI, apnea–hypopnea index.
Figure 2
Figure 2
Density scatterplots representing Shapley values of input parameters for the RF models for screening moderate to severe and severe risks of OSA with the testing data set: (A) moderate-to-severe OSA model and (B) severe OSA model. Abbreviations: BMI, body mass index; TBW, total body water; ECW, extracellular water; ICW, intracellular water.

Similar articles

Cited by

References

    1. Maspero C., Giannini L., Galbiati G., Rosso G., Farronato G. Obstructive sleep apnea syndrome: A literature review. Minerva Stomatol. 2015;64:97–109. - PubMed
    1. Benjafield A.V., Ayas N.T., Eastwood P.R., Heinzer R., Ip M.S., Morrell M.J., Nunez C.M., Patel S.R., Penzel T., Pépin J.-L. Estimation of the global prevalence and burden of obstructive sleep apnoea: A literature-based analysis. Lancet Respir. Med. 2019;7:687–698. doi: 10.1016/S2213-2600(19)30198-5. - DOI - PMC - PubMed
    1. Peppard P.E., Young T., Barnet J.H., Palta M., Hagen E.W., Hla K.M. Increased prevalence of sleep-disordered breathing in adults. Am. J. Epidemiol. 2013;177:1006–1014. doi: 10.1093/aje/kws342. - DOI - PMC - PubMed
    1. Gottlieb D.J., Punjabi N.M. Diagnosis and management of obstructive sleep apnea: A review. JAMA. 2020;323:1389–1400. doi: 10.1001/jama.2020.3514. - DOI - PubMed
    1. Lal C., Strange C., Bachman D. Neurocognitive impairment in obstructive sleep apnea. Chest. 2012;141:1601–1610. doi: 10.1378/chest.11-2214. - DOI - PubMed

LinkOut - more resources