Next Article in Journal
A Method for Statistical Processing of Magnetic Field Sensor Signals for Non-Invasive Condition Monitoring of Synchronous Generators
Next Article in Special Issue
Empowering Patient Similarity Networks through Innovative Data-Quality-Aware Federated Profiling
Previous Article in Journal
Performance and Accuracy Comparisons of Classification Methods and Perspective Solutions for UAV-Based Near-Real-Time “Out of the Lab” Data Processing
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

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

1
Centre for Transport Studies, Department of Civil and Environmental Engineering, Imperial College London, London SW7 2AZ, UK
2
Department of Medical Physics and Biomedical Engineering, University College London, London WC1E 6BT, UK
3
Parasites and Microbes Programme, Wellcome Sanger Institute, Hinxton CB10 1RQ, UK
4
Chemical Engineering and Biotechnology, University of Cambridge, Cambridge CB3 0AS, UK
5
Cognitive Neuroscience, Division of Psychology and Language Science, University College London, London WC1H 0AP, UK
6
School of Respiratory Therapy, College of Medicine, Taipei Medical University, Taipei 110301, Taiwan
7
Sleep Center, Shuang Ho Hospital, Taipei Medical University, New Taipei City 235041, Taiwan
8
Department of Neurology, Shuang Ho Hospital, Taipei Medical University, New Taipei City 235041, Taiwan
9
Department of Neurology, School of Medicine, College of Medicine, Taipei Medical University, Taipei 110301, Taiwan
10
Taipei Neuroscience Institute, Taipei Medical University, Taipei 110301, Taiwan
11
Dementia Center, Shuang Ho Hospital, Taipei Medical University, New Taipei City 235041, Taiwan
12
Department of Medical Imaging and Intervention, Chang Gung Memorial Hospital at Linkou, Taoyuan 33305, Taiwan
13
Division of Pulmonary Medicine, Department of Internal Medicine, Shuang Ho Hospital, Taipei Medical University, New Taipei City 235041, Taiwan
14
Department of Physical Medicine and Rehabilitation, Taipei Medical University Hospital, Taipei 110301, Taiwan
15
Research Center of Artificial Intelligence in Medicine, Taipei Medical University, Taipei 110301, Taiwan
16
Graduate Institute of Nanomedicine and Medical Engineering, College of Biomedical Engineering, Taipei Medical University, Taipei 110301, Taiwan
17
Department of Psychiatry, Taipei Medical University Hospital, Taipei 110301, Taiwan
18
Department of Otolaryngology, Shuang Ho Hospital, Taipei Medical University, New Taipei City 235041, Taiwan
*
Authors to whom correspondence should be addressed.
These authors contributed equally to this work.
Sensors 2022, 22(22), 8630; https://doi.org/10.3390/s22228630
Submission received: 25 September 2022 / Revised: 26 October 2022 / Accepted: 5 November 2022 / Published: 9 November 2022

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.

1. Introduction

Obstructive sleep apnea (OSA) refers to sleep-disordered breathing caused by partial or complete airway obstruction [1]. This disease has become a global health concern, with approximately one billion people aged 30–65 years being affected by mild-to-severe OSA, and 425 million having moderate to severe OSA [2]. In the United States, the prevalence rate of OSA increased by approximately 30% between 1990 and 2010 [3]. OSA is regarded as a risk factor for various comorbidities, including 2–3-fold increased risks of cardiovascular and metabolic diseases [4], and decreased hippocampal volume, which is associated with neurocognitive deficits [5]. Therefore, early diagnosis of and suitable treatment for OSA are essential.
In-laboratory polysomnography (PSG) is the standard measurement to diagnose OSA and differentiate severity. Specifically, the apnea–hypopnea index (AHI), which records the total number of apnea and hypopnea events during sleep time, is determined using PSG data; the index is used to differentiate between four OSA severity categories: normal (AHI < 5), mild (5 ≤ AHI < 15 events/h), moderate (15 ≤ AHI < 30 events/h), and severe (AHI ≥ 30 events/h) [6]. Curative interventions are generally recommended for patients with moderate or severe OSA (AHI ≥ 15 events/h). Despite its usefulness, PSG has some clinical shortcomings. For example, PSG requires a lengthy monitoring time and the involvement of licensed technicians; thus, the average PSG waiting time in developed countries ranges from months to 2 years [7]. The time-consuming and labor-intensive nature of PSG may limit its efficiency and effectiveness. Alternative methods have been proposed to improve measurement accessibility, including the OSA questionnaires and home sleep tests (HSTs) through oximetry; however, none of them is fully reliable as a surrogate for PSG. A review study indicated that inconsistent results from studies using different OSA questionnaires (Berlin; apnea score; sleep apnea scale of the sleep disorders questionnaire; snoring, tiredness, observed-apnea, and high blood pressure (STOP); STOP including body mass index (BMI), age, neck circumference, and sex) can be attributed to heterogeneity in study design and enrolled populations [8]. Regarding HSTs, despite offering convenient diagnosis, this approach may be insufficiently accurate to rule out OSA when the respiratory events of patients are mainly associated with arousals [9]. Moreover, because of the reduced number of physiological channels in HSTs, this approach may not be suitable for patients with complicated comorbidities [10]. Given the aforementioned deficiencies in current methods, novel models to rapidly screen for OSA risk and thereby increase the efficiency of the therapeutic decision-making process are required.
To develop clinically applicable models, exploring the relationships between OSA severity and anthropometric features may be worthwhile. Sex, age, and BMI for instance, have been suggested as useful indicators in OSA risk screening [11]. In one study, the prevalence of moderate to severe OSA in middle-aged men (aged 30–49 years) and in older men (aged 50–77 years) was 3.3-fold and 1.9-fold higher than the values of female cohorts with the same age ranges, respectively [12]. Another study indicated that those with obesity (BMI: 30–39.9 kg/m2) had higher mean AHI and oxygen desaturation index (ODI) values than those with a healthy weight (AHI: 28.5 ± 1.22 events/h vs. 14.3 ± 1.40 events/h; ODI: 32.1 ± 1.20 events/h vs. 15.8 ± 1.40 events/h, all p < 0.01) [13]. Neck and waist size have also been adopted as proxies for BMI when screening for OSA risk, with a neck size of >43 cm in men or >38 cm in women and a waist size of >102 cm for both sexes indicating increased risk [14]. In another study, neck size (ρ: 0.54), waist size (ρ: 0.75), and body water (ρ: 0.69) were all significantly and positively correlated with AHI [15]. Moreover, body fat level was significantly correlated with AHI (r = 0.65), and abdominal visceral fat level calculated through cross-sectional computed tomography exhibited adequate sensitivity and specificity (p < 0.01) in differentiating between those with OSA and healthy individuals [16]. Hence, these easily acquired anthropometric features may be useful in OSA risk screening models because their associations with AHI have been demonstrated.
In this retrospective study, we sought to develop risk screening models for OSA using machine learning approaches and easily acquired parameters, such as anthropometric features. We hypothesized that anthropometric features (e.g., body profile and body composition parameters), which are associated with OSA severity, would be beneficial in models for screening the risk of moderate to severe OSA (AHI ≥ 15) and severe OSA (AHI ≥ 30). We developed OSA risk screening models using various machine learning approaches that incorporated easily accessed anthropometric features. Subsequently, we compared the means of the obtained anthropometric features in groups with different OSA severity. We also examined the correlations between anthropometric features and sleep quality indices. The aim of these analyses was to elucidate the relationships between these variables.

2. Materials and Methods

2.1. Ethics

The Ethics Committee of the Taipei Medical University-Joint Institutional Review Board reviewed and approved the protocol of this retrospective study (TMU-JIRB No: N201911007). All relevant procedures for data collection, analysis, and preservation were conducted per the approved protocol.

2.2. Study Population

We retrospectively collected the data of patients who underwent PSG for OSA severity assessment at the Sleep Center of Taipei Medical University–Shuang Ho Hospital (New Taipei City, Taiwan) between May 2019 and December 2021. The inclusion criteria for data use were as follows: age between 18 and 90 years, overall PSG recording time of >6 h and sleep efficiency of >60%, no history of invasive surgery for OSA, and no regular use of hypnotic or psychotropic medications. Using the medical registration number list of the eligible individuals, we acquired their physical profiles, which included information on age, sex, body mass index (BMI), and neck and waist circumferences, from their responses to a baseline survey questionnaire recorded in a sleep center database. Next, we obtained data regarding the participants’ medication and surgical history from their clinical records. Because of known correlations between OSA severity and craniofacial features, we collected data from only Han individuals to limit the effect of craniofacial feature disparities [17].

2.3. Body Composition

Body composition data were collected from the aforementioned sleep center database. The procedures used for determining body composition are described below. Before the patients underwent PSG, we measured their body compositions (through bioelectrical impedance) using the Tanita MC-780 system (Tanita, Tokyo, Japan). Before the measurement, the patients fasted for 3 h and emptied their bladder. During data reading, the patients were instructed to stand still and hold the detection handles with both arms straight down while ensuring their inner thighs did not touch. Fat mass and fat-free mass (comprising bone and muscle mass) in various body regions (whole body, only limbs, and only trunk) were assessed, and the percentages of fat and muscle in the aforementioned regions were subsequently derived. Visceral fat level (as an index for evaluating fat encompassing the vital organs in the abdominal cavity; range 1–55I), basal metabolic rate (as the minimum energy required by the body at rest), and physique rating (body fat mass divided by muscle mass) were also determined. To evaluate water distribution in the body, the volume of total body water (TBW), including the volumes of extracellular water (ECW) and intracellular water (ICW), percentage of body water, ratio between ECW and ICW, and ratio between trunk fat and whole-body fat were determined. All the derived parameters were used in further analyses.

2.4. Sleep Parameter

Sleep parameters were selected from the PSG database. The procedures used for PSG are described below. In-laboratory PSG was conducted using the ResMed Embla N7000 (ResMed, San Diego, CA, USA) and Embla MPR (Natus Medical, Pleasanton, CA, USA) systems. The PSG recorded various physiological signals, namely electroencephalography, electrooculography, electromyography (chin and leg), electrocardiography, nasal and oral airflow, snoring patterns, thoracic and abdominal impendence, sleeping position, and oxygen saturation. A licensed PSG technologist scored recordings using RemLogic software (version 3.41, Embla, Thornton, CO, USA), following the Americana Academy of Sleep Medicine Scoring Manual Version 2.4 [18]. All the scored results were reviewed by another technologist, and inconsistent scorings were identified and discussed further to achieve a consensus. We determined the distribution of each sleep stage, namely wake, rapid eye movement (REM), and non-REM (NREM), and we subsequently calculated the wake after sleep onset (WASO) accumulation time. OSA severity was classified by AHI into four levels: normal (AHI < 5 events/h), mild (5 ≤ AHI < 15 events/h), moderate (15 ≤ AHI < 30 events/h), and severe (AHI ≥ 30 events/h) [6]. For patients with AHI ≥ 15 events/h, OSA intervention was recommended [19]. We thus developed two types of risk screening models, one for the risk of moderate to severe OSA (AHI ≥ 15 vs. AHI < 15) and the other for the risk of severe OSA (AHI ≥ 30 vs. AHI < 30).

2.5. Statistical Analysis

We employed Python (version 3.9.7) and an open-source statistics module, scikit-learn (version 0.21.2), to perform the statistical analyses. Patients were split into three groups according to OSA severity: normal-to-mild, moderate, and severe OSA groups. For continuous variables, the Shapiro–Wilk test was first used to examine the normality of their distribution. We employed nonparametric statistical approaches because the grouped data were nonnormally distributed. Subsequently, we used Levene’s test to examine the homogeneity of variance, followed by the Kruskal–Wallis test (homoscedastic) and Welch’s analysis of variance test (heteroscedastic). Regarding nominal variables, we used the chi-square test to compare intergroup differences. In addition, Pearson’s correlation was applied to determine the correlations between anthropometric features and sleep quality indices, namely AHI, ODI, snoring index, and arousal index. The level of statistical significance was set at p < 0.05.

2.6. Machine Learning Approaches

Six supervised machine learning models, namely, logistic regression (LR), k-nearest neighbors (kNN), naïve Bayes (NB), random forest (RF), support vector machine (SVM), and extreme gradient boosting (XGBoost), were employed to develop the two types of OSA risk screening models. Figure 1 illustrates the flowchart for the model establishment. Initially, the data were independently separated into two data sets (training and validation set and testing set) at a ratio of 80% and 20%. First, we applied grid search 10-fold cross-validation during the training and validation stage to determine the optimal classifier for each machine learning approach [20]. Specifically, we compared the accuracy by tuning (a) the inverse values of regularization (C, from 10−5 to 105) for the LR models; (b) the k value (ranging from 2 to 5) and weight type (uniform or distance) for the kNN models; (c) the portion of the largest variance of all features for the NB models (var_smoothing, from 10−9 to 109); (d) various kernel types (linear, polynomial, and radial basis function) and regularization values (C, between 10−3 and 103) for the SVM models, (e) the criterion (Gini index or entropy) and the number of classification and regression trees (set as 250, 500, and 750) for the RF models with the bootstrap technique, and (f) the criterion (mean squared error (MSE), Friedman MSE, or squared error) and the number of estimators (set as 250, 500, and 750) for the XGBoost models. The performance matrix and area under the receiver operating characteristic curve (AUC) of each model were then determined. Thereafter, the machine learning approach with the highest accuracy was employed in the testing stage for further evaluation, and the Shapley values of the input variables for the employed models were calculated and visualized in a scatterplot to evaluate the contribution of each feature within the OSA risk screening models [21].

3. Results

3.1. Characterization of Enrolled Participants

We recruited a cohort of 3503 individuals for this retrospective study. Table 1 presents their anthropometric features grouped by OSA severity: normal-to-mild (AHI < 15), moderate (15 ≤ AHI < 30), and severe OSA groups (AHI ≥ 30). Regarding body profiles, the severe group demonstrated the highest mean values for BMI and neck and waist size, with the ratio of men being higher in the severe OSA group (1299/284, 82.06%) than in the normal-to-mild (348/603, 36.59%) and moderate OSA groups (677/292, 69.87%). For body composition parameters, the severe OSA group exhibited the highest mean values for fat mass and fat percentage (in the whole body, only limbs, and only trunk), visceral fat level, and basal metabolic rate, but the lowest mean values for physique rating and muscle mass as a percentage of whole-body mass (all p < 0.5). Similarly, for body water distribution, the severe OSA group had the highest mean values for TBW (40.18 kg ± 6.37 kg), ECW (16.5 kg ± 1.89 kg), and ICW (23.68 kg ± 4.63 kg), but the lowest mean values for body water percentage (48.59% ± 5.76%).

3.2. Sleep Parameters

The details of the sleep quality indices by sleep stage are presented in Table 2. The severe group exhibited the lowest mean values for sleep efficiency (72.5% ± 16.99%), total sleep time (264.96 min ± 62.5 min), and the mean (93.46% ± 2.58%) minimum values (77.14% ± 8.64%) of oxygen saturation measured through pulse oximetry (SpO2). Regarding sleep stage parameters, the patients with severe OSA demonstrated the highest percentage for the wake stage (22.06% ± 16.18%) and highest mean WASO time (73.98 min ± 53.48 min). Conversely, the severe OSA group had the lowest percentage for both the REM and NREM stages (REM: 10.1% ± 6.3%; NREM: 67.83% ± 13.84%). Regarding the sleep quality indices, the severe group had the highest mean values for AHI, ODI (≥3%), snoring index, and arousal index (all p < 0.05). By contrast, the normal-to-mild OSA group had the lowest mean value for all of these indices.

3.3. Sleep Quality Index and Anthropometric Features

The correlations between the sleep quality index and anthropometric features are illustrated in Table 3. Regarding body profiles, BMI (ρ: 0.57), neck size (ρ: 0.59), and waist size (ρ: 0.61) had significant moderate correlations with AHI (all p < 0.05). For body composition parameters, fat mass, fat-free mass, and muscle mass (ρ: 0.4 to 0.48) in various body regions (i.e., whole body, only limbs, and only trunk) exhibited significant moderate correlations with AHI (all p < 0.05). Moreover, visceral fat level (ρ: 0.64) had a significant moderate to strong correlation with AHI (p < 0.05). In terms of body water distribution, AHI was positively correlated with TBW, ECW, and ICW (ρ: 0.43 to 0.58, p < 0.05), whereas AHI was negatively correlated with body water percentage (ρ: −0.24, p < 0.05). Moreover, the correlations of anthropometric features with other sleep quality indices, namely, ODI, snoring index, and arousal index, were similar to the correlations with AHI.

3.4. Validation Performance of Machine Learning Approaches

The performance of the training and validation stage of each machine learning approach is summarized in Table 4. For the moderate to severe OSA model, the RF model exhibited the highest overall accuracy (LR: 81.55% ± 2.77%; kNN: 82.59% ± 2.05%; NB: 78.16% ± 3.29%; SVM: 83.51% ± 0.61%; RF: 85.19% ± 2.86%; XGBoost: 83.94% ± 2.52%). For the severe OSA model, similarly, the RF model outperformed the other models in accuracy (LR: 72.59% ± 0.99%; kNN: 70.52% ± 0.88%; NB: 72.66% ± 1.04%; SVM: 73.84% ± 0.04%; RF: 75.95% ± 2.24%; XGBoost: 73.91% ± 0.48%). In terms of AUC, similar to the accuracy results, the RF model demonstrated the highest values in both the moderate to severe (AUC: 90.41% ± 2.44%) and severe (83.24% ± 1.69%) OSA risk screening models. Because it had the strongest performance (highest accuracy and AUC), the RF models were adopted to predict the testing data sets and further explore their feature importance.

3.5. Accuracy Performance and Feature Importance

The model performance summary for the testing data set from the RF models is illustrated in Table 5. For the moderate-to-severe OSA RF model, the prediction accuracy was 84.74% and the AUC was 89.58%. For the severe OSA RF model, the prediction accuracy was 72.61% and the AUC was 80.07%. The feature importance in the RF models for the two risk types is presented in Figure 2. In the figure, the variables are arranged from top to bottom according to their Shapley values, with high and low values represented by red and blue dots, respectively. In both risk screening models (for moderate to severe and severe OSA), visceral fat level demonstrated the highest Shapley values, indicating the highest feature importance. Moreover, high visceral fat level (red dot) contributed to high OSA risk (high Shapley value). The ECW, neck and waist size, and BMI were alternately ranked from second to fifth highest in feature importance in both the risk screening models for moderate-to-severe OSA and severe OSA models.

3.6. Supplementary

We further developed OSA screening models for multiclass classification, including AHI < 15 (normal to mild OSA), 30 > AHI ≥ 15 (moderate), and AHI ≥ 30 (severe). The outcomes are presented in Supplementary Information. As shown in Table S1, the RF models exhibited the highest prediction accuracy (66.71%) and AUC (79.24%) in the training and validation stage. Subsequently, the RF models were used to predict the testing data sets because this approach outperformed other approaches; the outcomes are summarized in Table S2. The accuracy of multiclass prediction was 62.91%, and the AUC for this classification performance was 77.47%. Figure S1 illustrates feature importance in the RF models used for predicting the severity of OSA. Similar to the findings obtained using the moderate-to-severe and severe OSA models, the level of visceral fat exhibited the highest Shapley value in the RF models for multiclass prediction, which indicated its highest feature importance. Waist size, ECW, neck size, and BMI were sequentially ranked from second to fifth in terms of feature importance.

4. Discussion

To develop robust models based on easily accessed parameters for OSA risk screening, we investigated the relationships of anthropometric features with PSG parameters by using a large sample from Taiwan (N = 3503). We conducted comparisons of the anthropometric features and PSG parameters of patients with different OSA severity. We also examined the correlations between sleep quality indices and anthropometric features, namely, body profiles and body composition parameters. Subsequently, various machine learning models based on anthropometric features were developed for screening the risk of moderate to severe OSA (AHI ≥ 15) and severe OSA (AHI ≥ 30). The models with the highest accuracy in the training and validation stage were used in the validation experiments; these models for both types of OSA severity exhibited high classification accuracy when using the testing data set. Moreover, we examined the feature importance of the adopted models in OSA severity screening.
First, concerning model performance, the RF models using the bootstrap technique with optimal parameters derived from grid search cross-valuation demonstrated the highest accuracy and AUC in both types of OSA risk screening models. Similar to the results presented in Supplementary Information, the accuracy and AUC of the newly developed RF models were superior to the classification performance of other approaches. Although the literature does not provide evidence that RF outperforms other machine learning approaches, several plausible explanations may account for the present results. RF models, constructed per the theory of ensemble learning, may promote the accurate convergence of classification results (due in part to favorable antinoise ability) because this model architecture is more sensitive to relevant features and adept at disregarding the effects of irrelevant ones in comparison with other model architectures [22]. Moreover, the bootstrapping procedure and the number of decision trees in RF can be easily fine-tuned to avoid overfitting and maintain model stability [23]. Hence, the RF approach has been broadly employed for aiding medical diagnosis [24,25]. Compared with current machine learning approaches for screening OSA risk, the current models have some advantages. Specifically, our models are more suitable for application in clinical scenarios and demonstrate adequate accuracy. In related research, nocturnal oxygen saturation was adopted as a surrogate in OSA risk evaluation, and models integrating pulse oximetry data were developed [26]. However, variability in wearing situations, including incorrect probe placement, contact problems with the probe, and individuals’ body movements, may contribute to severe artefacts in the measurements [27]. Another study proposed machine learning models that integrated electrocardiogram data from wearable devices to screen for OSA risk; these models exhibited acceptable accuracy [28]. However, this type of screening method may not be suitable for patients with cardiopulmonary diseases because of the irregular and complex electrocardiogram signals of such patients. Moreover, some researchers have proposed machine learning models based on craniofacial feature images to predict OSA severity. Although craniofacial factors are significantly associated with OSA risk, the accuracy of those models was only 67% for classifying moderate to severe OSA [29]. This result may be attributed to poor precision caused by variations in captured craniofacial images and the fact that OSA pathology may not be entirely attributable to craniofacial factors. Prior studies have also proposed machine learning approaches for screening OSA risk by using different types of anthropometric features [30,31]; these methods exhibited relatively stable performance, and the interpretation of feature importance was straightforward. The literature thus suggests that machine learning models based on easily accessed anthropometric parameters may be practical for rapid screening of OSA severity in clinical scenarios.
Regarding the importance of features used in the developed models, visceral fat level had the highest Shapley value, suggesting that it is a predominant factor for screening OSA risk. In terms of feature importance, BMI, neck size, and waist size followed visceral fat level. These outcomes were consistent with our statistical findings that these anthropometric parameters were correlated with AHI and ODI. These results can be partially attributed to body fat deposition, which can be estimated using visceral fat (internal organs), waist size (abdomen), neck size (upper airway), or BMI (whole body), being associated with obesity level and thus affecting AHI [32]. Several studies exploring fat accumulation in various body regions have suggested that body fat volume is associated with OSA risk [33,34]. Studies have also indicated that BMI and waist size are significantly associated with OSA [35] and suggested the feasibility of using BMI and neck size to predict OSA risk for men and women, respectively [36]. In addition, for visceral fat, a related study indicated that one of the clinical manifestations of OSA, nocturnal hypoxemia, was associated with increased inflammatory responses in adipose tissue and decreased insulin sensitivity [37]. These interplays can interfere with glucose uptake and stimulate hepatic gluconeogenesis, thereby increasing visceral fat accumulation. Biomechanically, the presence of visceral fat is associated with reduced thoracic capacity and lung volume [38], potentially increasing the workload of respiratory muscles and even resulting in more severe OSA. One study investigated the biomechanism of visceral adipocytes during oxygen starvation and observed that intermittent hypoxia may cause elevated oxidative stress and insulin resistance, aggravate the inflammatory effect, and trigger initial dysmetabolism [39].
Regarding the effect of body water distribution on OSA risk prediction, ECW was the second and fifth most important factor in the risk screening models for moderate to severe and severe OSA, respectively. These results are likely attributable to the associations between ECW and sleep apnea. Researchers have indicated that nocturnal Rostral fluid redistribution from the lower limbs was independent of body weight, and that it may increase the likelihood of upper airway narrowing, thereby contributing to OSA pathogenesis [40]. In another study, ECW was also associated with residual kidney function; the resulting fluid overload can elevate the mucosal water content in the upper airway and thereby aggravate OSA severity [41]. Studies comparing those with and without OSA have observed a higher percentage of ECW [42] as well higher mean values in the percentages of TBW and ECW [43] in those with OSA. Collectively, body water distribution, especially ECW, may serve as a practical indicator when screening the risk of OSA.
The present study has some strengths. First, using the models developed in this study, we can identify patients with moderate to severe and severe risk of OSA on the basis of easily acquired anthropometric parameters. The adequate classification performance of the models may help optimize PSG to increase the availability of medical resources by prioritizing high-risk patients for PSG and treatment. Second, although machine learning approaches have been described as a black box method, which means how input variables are combined to make predictions could not be determined, we evaluated the feature importance by calculating Shapley values; this may improve our understanding of correlations between OSA risk and various input parameters. Finally, considering the outcomes of the feature importance distribution, we may prevent OSA by reducing its effect. For instance, reducing the level of visceral fat should be considered first for reducing OSA risk. Similarly, because ECW was identified to be a key factor in leading OSA, performing exercises to reduce body fluid levels and, by extension, body water retention before sleep time may help reduce or eliminate the severity of OSA.
The current study has some limitations that should be considered and addressed in future work. First, our models were population specific because we collected data exclusively from the populations in Taiwan. However, not only anthropometric features but also craniofacial factors have been reported to affect AHI and OSA severity [44]. Our models, therefore, may only be applied to specific ethnicities or populations with craniofacial features similar to the population in Taiwan. Second, our findings were based on PSG results; because PSG involves manual scoring, interscorer variability between PSG technologists may have affected our data quality. Although technicians from the same sleep center undergo regular scoring training, some degree of human variability is unavoidable [45]. Third, environmental factors, such as the first-night effect, may also have affected the quality of our data set [46]. More precisely, sleeping in a new environment may alter an individual’s sleep cycle and physiology, thereby causing inaccurate PSG outcomes. Although we excluded patients with low sleep efficiency, further works may consider using data from repeated PSG to prevent or reduce such bias [47]. Fourth, this retrospective study lacked information regarding lifestyle habits (tobacco and alcohol use) [48] or personal health status (menopausal status and comorbidities) [49,50]. Nevertheless, the association between OSA and these baseline details has been documented. Future research can consider obtaining these data by using questionnaires or retrospect patients’ disease-related parameters from personal medical history. Such additional data may be helpful for training more comprehensive models and increasing the accuracy of OSA risk screening.

5. Conclusions

To address the limitations of current screening tools for OSA severity, we developed novel models using easily accessed parameters. On the basis of anthropometric features obtained from 3503 patients in Taiwan, we developed various machine learning models to predict the risk of severe-to-moderate OSA and severe OSA. In the training and validation stage, the RF-based prediction models demonstrated the highest accuracy and AUC in both OSA severity risk categories among all the machine learning approaches. We, therefore, applied the RF models for testing data set prediction; the accuracy was 84.74% for the moderate to severe model and 72.61% for the severe model. Regarding feature importance, visceral fat level was the most critical feature in the OSA risk screening. Similarly, our statistical outcomes suggested that AHI and ODI significantly correlated with the anthropometric features related to obesity (i.e., BMI; neck size; waist size; visceral fat level; and the mass and percentage of fat in the whole body, only limbs, and only trunk). Our machine learning models may be employed to screen for OSA risk in populations with similar craniofacial features.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/s22228630/s1, Figure S1: Density scatterplots showing the Shapley values of the input parameters used in the RF models for assessing OSA severity using the testing data set; Table S1: Classification of the results of the random forest model used to assess the severity of OSA using the testing data set; Table S2: Classification of the results of the random forest model used to assess the risk of OSA using the testing data set.

Author Contributions

Conceptualization, W.-T.L., A.M. and C.-Y.T.; methodology, H.-T.H., H.-C.C., J.W. and P.-J.D.; software, C.-Y.T. and W.-H.H.; validation, A.M. and M.S.; formal analysis, H.-T.H., H.-C.C., J.W. and P.-J.D.; investigation, W.-T.L., Y.-C.K., Y.-T.L. and C.-R.H.; resources, A.M., K.-Y.L., C.-J.W. and D.W.; data curation, W.-H.H. and C.-Y.T.; writing—original draft preparation, C.-Y.T., H.-T.H., H.-C.C., J.W. and P.-J.D.; writing—review and editing, W.-T.L., A.M. and M.S.; visualization, W.-H.H.; supervision, K.-Y.L., C.-J.W. and J.-H.K.; project administration, W.-T.L. and H.-C.L.; funding acquisition, K.-Y.L. and W.-T.L. All authors have read and agreed to the published version of the manuscript.

Funding

This study was funded by Taiwan’s Ministry of Science and Technology (Grant number: MOST 110-2634-F-002-049). The funders had no role in the study design, data collection and analysis, decision to publish, or preparation of the manuscript.

Institutional Review Board Statement

This is a retrospective study that employed a database from a medical center. The Ethics Committee of the Taipei Medical University-Joint Institutional Review Board reviewed and approved the protocol of this retrospective study (TMU-JIRB No: N201911007). All relevant procedures for data collection, analysis, and preservation were conducted per the approved protocol.

Informed Consent Statement

Patient consent was waived due to the fact that this retrospective study determined the data from the hospital database. All the data are derived under data de-identification and analyzed in accordance with the rule of off-label use.

Data Availability Statement

All the data of this study were collected at the Sleep Center of Taipei Medical University–Shuang Ho Hospital (New Taipei City, Taiwan) between May 2019 and December 2021. Because our data set contains personal information, it is not available in the Supplementary File. For access to the data set or relevant documents, please contact the corresponding author.

Acknowledgments

We would like to thank all participants for their contribution to this research.

Conflicts of Interest

The authors declare no conflict of interest.

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. [Google Scholar]
  2. 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. [Google Scholar] [CrossRef] [Green Version]
  3. 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. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. Gottlieb, D.J.; Punjabi, N.M. Diagnosis and management of obstructive sleep apnea: A review. JAMA 2020, 323, 1389–1400. [Google Scholar] [CrossRef] [PubMed]
  5. Lal, C.; Strange, C.; Bachman, D. Neurocognitive impairment in obstructive sleep apnea. Chest 2012, 141, 1601–1610. [Google Scholar] [CrossRef]
  6. Quan, S.; Gillin, J.C.; Littner, M.; Shepard, J. Sleep-related breathing disorders in adults: Recommendations for syndrome definition and measurement techniques in clinical research. editorials. Sleep 1999, 22, 662–689. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  7. Flemons, W.W.; Littner, M.R.; Rowley, J.A.; Gay, P.; Anderson, W.M.; Hudgel, D.W.; McEvoy, R.D.; Loube, D.I. 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, 1543–1579. [Google Scholar] [CrossRef] [Green Version]
  8. Amra, B.; Rahmati, B.; Soltaninejad, F.; Feizi, A. Screening questionnaires for obstructive sleep apnea: An updated systematic review. Oman Med. J. 2018, 33, 184. [Google Scholar] [CrossRef]
  9. Nerfeldt, P.; Aoki, F.; Friberg, D. Polygraphy vs. polysomnography: Missing osas in symptomatic snorers—A reminder for clinicians. Sleep Breath. 2014, 18, 297–303. [Google Scholar] [CrossRef] [PubMed]
  10. Kapur, V.K.; Auckley, D.H.; Chowdhuri, S.; Kuhlmann, D.C.; Mehra, R.; Ramar, K.; Harrod, C.G. Clinical practice guideline for diagnostic testing for adult obstructive sleep apnea: An American Academy of Sleep Medicine clinical practice guideline. J. Clin. Sleep Med. 2017, 13, 479–504. [Google Scholar] [CrossRef]
  11. Senaratna, C.V.; Perret, J.L.; Lodge, C.J.; Lowe, A.J.; Campbell, B.E.; Matheson, M.C.; Hamilton, G.S.; Dharmage, S.C. Prevalence of obstructive sleep apnea in the general population: A systematic review. Sleep Med. Rev. 2017, 34, 70–81. [Google Scholar] [CrossRef] [PubMed]
  12. Abbasi, A.; Gupta, S.S.; Sabharwal, N.; Meghrajani, V.; Sharma, S.; Kamholz, S.; Kupfer, Y. A comprehensive review of obstructive sleep apnea. Sleep Sci. 2021, 14, 142. [Google Scholar] [CrossRef] [PubMed]
  13. Ernst, G.; Bosio, M.; Salvado, A.; Dibur, E.; Nigro, C.; Borsini, E. Difference between apnea-hypopnea index (AHI) and oxygen desaturation index (ODI): Proportional increase associated with degree of obesity. Sleep Breath. 2016, 20, 1175–1183. [Google Scholar] [CrossRef] [PubMed]
  14. Davidson, T.M.; Patel, M.R. Waist circumference and sleep disordered breathing. Laryngoscope 2008, 118, 339–347. [Google Scholar] [CrossRef]
  15. Lovin, S.; Bercea, R.; Cojocaru, C.; Rusu, G.; Mihăescu, T. Body composition in obstructive sleep apneahypopnea syndrome bio-impedance reflects the severity of sleep apnea. Multidiscip. Respir. Med. 2010, 5, 1–6. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  16. Öğretmenoğlu, O.; Süslü, A.E.; Yücel, Ö.T.; Önerci, T.M.; Şahin, A. Body fat composition: A predictive factor for obstructive sleep apnea. Laryngoscope 2005, 115, 1493–1498. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  17. Hnin, K.; Mukherjee, S.; Antic, N.A.; Catcheside, P.; Chai-Coetzer, C.L.; McEvoy, D.; Vakulin, A. The impact of ethnicity on the prevalence and severity of obstructive sleep apnea. Sleep Med. Rev. 2018, 41, 78–86. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  18. Berry, R.B.; Brooks, R.; Gamaldo, C.; Harding, S.M.; Lloyd, R.M.; Quan, S.F.; Troester, M.T.; Vaughn, B.V. AASM scoring manual updates for 2017 (version 2.4); American Academy of Sleep Medicine: Darien, IL, USA, 2017; Volume 13, pp. 665–666. [Google Scholar]
  19. Abad, V.C.; Guilleminault, C. Treatment options for obstructive sleep apnea. Curr. Treat. Options Neurol. 2009, 11, 358–367. [Google Scholar] [CrossRef] [PubMed]
  20. Pontes, F.J.; Amorim, G.; Balestrassi, P.P.; Paiva, A.; Ferreira, J.R. Design of experiments and focused grid search for neural network parameter optimization. Neurocomputing 2016, 186, 22–34. [Google Scholar] [CrossRef]
  21. Sundararajan, M.; Najmi, A. In The many Shapley values for model explanation. In Proceedings of the International Conference on Machine Learning, Virtual, 13–18 July 2020. [Google Scholar]
  22. Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Green Version]
  23. Zhou, J.; Li, E.; Wei, H.; Li, C.; Qiao, Q.; Armaghani, D.J. Random forests and cubist algorithms for predicting shear strengths of rockfill materials. Appl. Sci. 2019, 9, 1621. [Google Scholar] [CrossRef]
  24. Tsai, C.-Y.; Kuan, Y.-C.; Hsu, W.-H.; Lin, Y.-T.; Hsu, C.-R.; Lo, K.; Hsu, W.-H.; Majumdar, A.; Liu, Y.-S.; Hsu, S.-M. Differentiation model for insomnia disorder and the respiratory arousal threshold phenotype in obstructive sleep apnea in the taiwanese population based on oximetry and anthropometric features. Diagnostics 2021, 12, 50. [Google Scholar] [CrossRef] [PubMed]
  25. Dasariraju, S.; Huo, M.; McCalla, S. Detection and classification of immature leukocytes for diagnosis of acute myeloid leukemia using random forest algorithm. Bioengineering 2020, 7, 120. [Google Scholar] [CrossRef] [PubMed]
  26. Böhning, N.; Schultheiss, B.; Eilers, S.; Penzel, T.; Böhning, W.; Schmittendorf, E. Comparability of pulse oximeters used in sleep medicine for the screening of OSA. Physiol. Meas. 2010, 31, 875. [Google Scholar] [CrossRef]
  27. Pretto, J.J.; Roebuck, T.; Beckert, L.; Hamilton, G. Clinical use of pulse oximetry: Official guidelines from the Thoracic Society of Australia and New Zealand. Respirology 2014, 19, 38–46. [Google Scholar] [CrossRef] [PubMed]
  28. Baty, F.; Boesch, M.; Widmer, S.; Annaheim, S.; Fontana, P.; Camenzind, M.; Rossi, R.M.; Schoch, O.D.; Brutsche, M.H. Classification of sleep apnea severity by electrocardiogram monitoring using a novel wearable device. Sensors 2020, 20, 286. [Google Scholar] [CrossRef] [Green Version]
  29. Hanif, U.; Leary, E.B.; Schneider, L.D.; Paulsen, R.R.; Morse, A.M.; Blackman, A.; Schweitzer, P.K.; Kushida, C.A.; Liu, S.Y.; Jennum, P. Estimation of apnea-hypopnea index using deep learning on 3-D craniofacial scans. IEEE J. Biomed. Health Inform. 2021, 25, 4185–4194. [Google Scholar] [CrossRef]
  30. Kuan, Y.-C.; Hong, C.-T.; Chen, P.-C.; Liu, W.-T.; Chung, C.-C. Logistic regression and artificial neural network-based simple predicting models for obstructive sleep apnea by age, sex, and body mass index. Math. Biosci. Eng. 2022, 19, 11409–11421. [Google Scholar] [CrossRef]
  31. Tsai, C.-Y.; Liu, W.-T.; Lin, Y.-T.; Lin, S.-Y.; Houghton, R.; Hsu, W.-H.; Wu, D.; Lee, H.-C.; Wu, C.-J.; Li, L.Y.J. Machine learning approaches for screening the risk of obstructive sleep apnea in the Taiwan population based on body profile. Inform. Health Soc. Care 2021, 1–16. [Google Scholar] [CrossRef]
  32. Carter, R., III; Watenpaugh, D.E. Obesity and obstructive sleep apnea: Or is it OSA and obesity? Pathophysiology 2008, 15, 71–77. [Google Scholar] [CrossRef]
  33. Mitra, A.K.; Bhuiyan, A.R.; Jones, E.A. Association and Risk Factors for Obstructive Sleep Apnea and Cardiovascular Diseases: A Systematic Review. Diseases 2021, 9, 88. [Google Scholar] [CrossRef] [PubMed]
  34. Shah, N.; Roux, F. The relationship of obesity and obstructive sleep apnea. Clin. Chest Med. 2009, 30, 455–465. [Google Scholar] [CrossRef]
  35. Wolk, R.; Shamsuzzaman, A.S.; Somers, V.K. Obesity, sleep apnea, and hypertension. Hypertension 2003, 42, 1067–1074. [Google Scholar] [CrossRef] [PubMed]
  36. Topîrceanu, A.; Udrescu, L.; Udrescu, M.; Mihaicuta, S. Gender phenotyping of patients with obstructive sleep apnea syndrome using a network science approach. J. Clin. Med. 2020, 9, 4025. [Google Scholar] [CrossRef]
  37. Ryan, S. Adipose tissue inflammation by intermittent hypoxia: Mechanistic link between obstructive sleep apnoea and metabolic dysfunction. J. Physiol. 2017, 595, 2423–2430. [Google Scholar] [CrossRef] [Green Version]
  38. Krüchten, R.V.; Rospleszcz, S.; Lorbeer, R.; Hasic, D.; Peters, A.; Bamberg, F.; Schulz, H.; Karrasch, S.; Schlett, C.L. Whole-Body MRI-Derived Adipose Tissue Characterization and Relationship to Pulmonary Function Impairment. Tomography 2022, 8, 46. [Google Scholar] [CrossRef]
  39. Santiago-Fernández, C.; Martín-Reyes, F.; Tome, M.; Gutierrez-Repiso, C.; Fernandez-Garcia, D.; Ocaña-Wilhelmi, L.; Rivas-Becerra, J.; Tatzber, F.; Pursch, E.; Tinahones, F.J. Oxidized LDL Increase the Proinflammatory Profile of Human Visceral Adipocytes Produced by Hypoxia. Biomedicines 2021, 9, 1715. [Google Scholar] [CrossRef] [PubMed]
  40. White, L.; Bradley, T.; Logan, A. Pathogenesis of obstructive sleep apnoea in hypertensive patients: Role of fluid retention and nocturnal rostral fluid shift. J. Hum. Hypertens. 2015, 29, 342–350. [Google Scholar] [CrossRef] [PubMed]
  41. Lanis, A.; Kerns, E.; Hu, S.L.; Bublitz, M.H.; Risica, P.; Martin, S.; Parker, J.; Millman, R.; Dworkin, L.D.; Bourjeily, G. Residual renal function affects severity of sleep apnea in peritoneal dialysis: A pilot study. Lung 2018, 196, 425–431. [Google Scholar] [CrossRef]
  42. Kang, S.C.; Park, K.S.; Chang, T.I.; Shin, S.K.; Kang, E.W. Sleep Apnea is Associated with Residual Kidney Function and Mortality in Patients with Peritoneal Dialysis: Prospective Cohort Study. Semin. Dial. 2022, 35, 146–153. [Google Scholar] [CrossRef]
  43. Kosacka, M.; Korzeniewska, A.; Jankowska, R. The evaluation of body composition, adiponectin, C-reactive protein and cholesterol levels in patients with obstructive sleep apnea syndrome. Adv. Clin. Exp. Med. 2013, 22, 817–824. [Google Scholar] [PubMed]
  44. Costa, E. Sousa, R.A.; dos Santos Gil, N.A. Craniofacial skeletal architecture and obstructive sleep apnoea syndrome severity. J. Cranio-Maxillofac. Surg. 2013, 41, 740–746. [Google Scholar] [CrossRef] [PubMed]
  45. Younes, M.; Raneri, J.; Hanly, P. Staging sleep in polysomnograms: Analysis of inter-scorer variability. J. Clin. Sleep Med. 2016, 12, 885–894. [Google Scholar] [CrossRef]
  46. Ding, L.; Chen, B.; Dai, Y.; Li, Y. A meta-analysis of the first-night effect in healthy individuals for the full age spectrum. Sleep Med. 2022, 89, 159–165. [Google Scholar] [CrossRef]
  47. Newell, J.; Mairesse, O.; Verbanck, P.; Neu, D. Is a one-night stay in the lab really enough to conclude? First-night effect and night-to-night variability in polysomnographic recordings among different clinical population samples. Psychiatry Res. 2012, 200, 795–801. [Google Scholar] [CrossRef]
  48. Duan, X.; Huang, J.; Zheng, M.; Zhao, W.; Lao, L.; Li, H.; Wang, Z.; Lu, J.; Chen, W.; Deng, H. Association of healthy lifestyle with risk of obstructive sleep apnea: A cross-sectional study. BMC Pulm. Med. 2022, 22, 1–12. [Google Scholar] [CrossRef] [PubMed]
  49. Gleeson, M.; McNicholas, W.T. Bidirectional relationships of comorbidity with obstructive sleep apnoea. Eur. Respir. Rev. 2022, 31. [Google Scholar] [CrossRef]
  50. Perger, E.; Mattaliano, P.; Lombardi, C. Menopause and sleep apnea. Maturitas 2019, 124, 35–38. [Google Scholar] [CrossRef]
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 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.
Sensors 22 08630 g001
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.
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.
Sensors 22 08630 g002
Table 1. Baseline characteristics and body composition parameters of participants grouped by OSA severity.
Table 1. Baseline characteristics and body composition parameters of participants grouped by OSA severity.
Categorical VariablesN-M Group
(N = 951)
M Group
(N = 969)
S Group
(N = 1583)
Post Hoc
Age (years) a43.19 ± 13.8549.48 ± 13.2649.85 ± 13.04N-M < M ** & S **
Sex (male to female ratio) b0.57 (348/603)2.32 (677/292)4.57 (1299/284)N-M < M ** & S **; M < S **
BMI (kg/m2) c23.01 ± 3.3326.55 ± 4.0229.44 ± 4.83N-M < M ** & S **; M < S **
Neck size (cm) a33.96 ± 3.1237.36 ± 3.3439.85 ± 3.48N-M < M ** & S **; M < S **
Waist size (cm) c80.56 ± 9.4991.35 ± 9.9199.21 ± 11.03N-M < M ** & S **; M < S **
Body composition data
Whole body
 Fat mass (kg) c16.58 ± 6.8721.14 ± 8.7225.87 ± 10.94N-M < M ** & S **; M < S **
 Muscle mass (kg) c42.26 ± 8.6950.13 ± 9.5454.68 ± 9.17N-M < M ** & S **; M < S **
 Visceral fat level c6.77 ± 3.3511.83 ± 3.7614.89 ± 3.96N-M < M ** & S **; M < S **
 Bone mass (kg) c2.47 ± 0.442.84 ± 0.443.05 ± 0.42N-M < M ** & S **; M < S **
 Fat-free mass (kg) c44.73 ± 9.152.97 ± 9.9657.74 ± 9.57N-M < M ** & S **; M < S **
 Fat percentage (%) a26.82 ± 8.6328.13 ± 8.7930.22 ± 8.79N-M < S **; M < S **
 Muscle percentage (%) a69.15 ± 8.3268.02 ± 8.4866.08 ± 8.45N-M > S **; M > S **
 Basal metabolic rate (kJ) c5415.96 ± 1009.176320.99 ± 1138.156919.51 ± 1144.22N-M < M ** & S **; M < S **
 Physique rating c36.07 ± 9.8929.5 ± 9.3625.44 ± 8.7N-M > M ** & S **; M > S **
Limbs
 Fat mass (kg) c7.46 ± 2.918.95 ± 3.8110.97 ± 5.13N-M < M ** & S **; M < S **
 Fat-free mass (kg) c20.75 ± 4.9625.1 ± 5.8328.11 ± 5.92N-M < M ** & S **; M < S **
 Muscle mass (kg) c19.54 ± 4.6723.65 ± 5.5226.5 ± 5.63N-M < M ** & S **; M < S **
 Fat percentage (%) c 26.58 ± 8.4926.13 ± 8.5227.42 ± 8.16N-M * & M ** < S
Trunk
 Fat mass (kg) c9.12 ± 4.0712.19 ± 5.0114.9 ± 6.04N-M < M ** & S **; M < S **
 Fat-free mass (kg) c23.98 ± 4.4427.87 ± 4.529.62 ± 4.42N-M < M ** & S **; M < S **
 Muscle mass (kg) c22.72 ± 4.2926.48 ± 4.3828.18 ± 4.28N-M < M ** & S **; M < S **
 Fat percentage (%) a27.01 ± 9.0929.85 ± 9.2732.72 ± 9.63N-M < M ** & S **; M < S **
 Trunk to whole-body fat ratio (%) c54.24 ± 5.1157.61 ± 3.3657.85 ± 3.21N-M < M ** & S **
Body water
 TBW (kg) a31.33 ± 6.0936.84 ± 6.3940.18 ± 6.37N-M < M ** & S **; M < S **
 ECW (kg) c12.89 ± 2.0615.22 ± 1.9316.5 ± 1.89N-M < M ** & S **; M < S **
 ICW (kg) c18.44 ± 4.1921.62 ± 4.6123.68 ± 4.63N-M < M ** & S **; M < S **
 Body water percentage (%) c51.25 ± 5.4150.03 ± 5.3548.59 ± 5.76N-M > M ** & S **; M > S **
 ECW to ICW ratio (%) c71.14 ± 7.8871.98 ± 8.6671.03 ± 8.14M > S *
Abbreviations: N-M group, normal-to-mild OSA group; M group, moderate OSA group; S group, severe OSA group; BMI, body mass index; TBW, total body water; ECW, extracellular water; and ICW, intracellular water. Data are expressed in terms of mean ± standard deviation values. Significant difference was derived from a Kruskal–Wallis test, b chi-square test, and c Welch’s analysis of variance test. * p < 0.05 and ** p < 0.01.
Table 2. Polysomnography parameters of participants grouped by OSA severity.
Table 2. Polysomnography parameters of participants grouped by OSA severity.
Categorical VariablesN-M Group
(N = 951)
M Group
(N = 969)
S Group
(N = 1583)
Post Hoc
Sleep efficiency (%) a75.27 ± 16.1674.64 ± 16.572.5 ± 16.99N-M > S **; M > S **
Mean SpO2 (%) b96.35 ± 1.4495.28 ± 1.5193.46 ± 2.58N-M > M ** & S **; M > S **
Minimum SpO2 (%) b90.06 ± 4.784.48 ± 6.0477.14 ± 8.64N-M > M ** & S **; M > S **
WASO (min) b54.1 ± 46.9362.91 ± 50.073.98 ± 53.48N-M < M ** & S **; M < S **
Total sleep time (min) b276.4 ± 60.66273.7 ± 60.72264.96 ± 62.5N-M > S **; M > S **
Sleep stage (% of SPT)
 Wake b16.64 ± 14.718.96 ± 15.4222.06 ± 16.18N-M < M ** & S **; M < S **
 NREM b 71.26 ± 12.5969.33 ± 12.8767.83 ± 13.84N-M > M ** & S **; M > S *
 REM a12.03 ± 6.9 11.68 ± 6.4710.1 ± 6.3N-M > S **; M > S **
Sleep quality index (events/h)
 AHI b7.81 ± 4.321.68 ± 4.2456.5 ± 21.18N-M < M ** & S **; M < S **
 ODI b4.02 ± 3.6514.81 ± 6.4648.84 ± 23.44N-M < M ** & S **; M < S **
 Snoring index b99.73 ± 158.35216.41 ± 214.94315.69 ± 220.36N-M < M ** & S **; M < S **
 Arousal index b13.81 ± 7.7918.27 ± 9.2832.67 ± 18.13N-M < M ** & S **; M < S **
Abbreviations: N-M group, normal-to-mild OSA group; M group, moderate OSA group; S group, severe OSA group; SpO2, oxygen saturation measured using pulse oximetry; WASO, wake after sleep onset; SPT, sleep period time; NREM, nonrapid eye movement; REM, rapid eye movement; AHI, apnea–hypopnea index; and ODI, oxygen desaturation index (≥3%). Data are expressed in terms of mean ± standard deviation values. Significant difference was derived from the a Kruskal–Wallis test and b Welch’s analysis of variance test. * p < 0.05 and ** p < 0.01.
Table 3. Pearson’s correlation coefficients for polysomnography parameters and body composition parameters.
Table 3. Pearson’s correlation coefficients for polysomnography parameters and body composition parameters.
Categorical VariableSleep Quality Index (events/h)
AHIODISnoring IndexArousal Index
Age (years)0.11 **0.08 **0.06 **0.09 **
Sex (male/female)0.33 **0.30 **0.17 **0.21 **
BMI (kg/m2)0.57 **0.59 **0.4 **0.3 **
Neck size (cm)0.59 **0.58 **0.38 **0.36 **
Waist size (cm)0.61 **0.61 **0.41 **0.35 **
Body composition
Whole body
 Fat mass (kg)0.45 **0.47 **0.32 **0.23 **
 Muscle mass (kg)0.46 **0.45 **0.29 **0.28 **
 Visceral fat level 0.64 **0.62 **0.41 **0.36 **
 Bone mass (kg)0.47 **0.47 **0.31 **0.28 **
 Fat-free mass (kg)0.47 **0.45 **0.29 **0.28 **
 Fat percentage (%)0.22 **0.24 **0.18 **0.08 **
 Muscle percentage (%)−0.21 **−0.23 **−0.17 **−0.08 **
 Basal metabolic rate (kJ)0.49 **0.49 **0.31 **0.28 **
 Physique rating−0.41 **−0.42 **−0.3 **−0.2 **
Limbs
 Fat mass (kg)0.42 **0.44 **0.3 **0.22 **
 Fat-free mass (kg)0.48 **0.48 **0.3 **0.28 **
 Muscle mass (kg)0.48 **0.48 **0.3 **0.28 **
 Fat percentage (%)0.11 **0.14 **0.12 **0.03
Trunk
 Fat mass (kg)0.46 **0.47 **0.32 **0.23 **
 Fat-free mass (kg)0.4 **0.38 **0.24 **0.25 **
 Muscle mass (kg)0.4 **0.38 **0.24 **0.25 **
 Fat percentage (%)0.29 **0.31 **0.22 **0.13 **
 Trunk to body fat ratio (%)0.22 **0.19 **0.13 **0.12 **
Body water
 TBW (kg)0.49 **0.48 **0.32 **0.29 **
 ECW (kg)0.58 **0.56 **0.38 **0.34 **
 ICW (kg)0.43 **0.43 **0.28 **0.26 **
 Body water percent (%)−0.24 **−0.26 **−0.17 **−0.1 **
 ECW to ICW ratio (%)−0.05 *−0.05 **−0.03 *−0.04 *
Abbreviations: AHI, apnea–hypopnea index; ODI, oxygen desaturation index (≥3%); BMI, body mass index; TBW, total body water; ECW, extracellular water; ICW, intracellular water. Data are expressed as coefficients. * p < 0.05; ** p < 0.01.
Table 4. Accuracy of the models for screening moderate to severe and severe OSA when using grid search cross-validation with the training data set.
Table 4. Accuracy of the models for screening moderate to severe and severe OSA when using grid search cross-validation with the training data set.
Categorical VariablesLRkNNNBSVMRFXGBoost
Moderate to severe OSA modelAHI ≥ 15 (N = 2039)/AHI < 15 (N = 763)
Precision91.4 ± 2.2286.46 ± 1.7790.3 ± 2.8483.1 ± 0.7986.72 ± 1.9386.75 ± 1.01
Recall82.44 ± 2.9190.24 ± 1.9378.47 ± 2.9697.11 ± 1.4594.07 ± 1.9991.96 ± 2.71
Accuracy81.55 ± 2.7782.59 ± 2.0578.16 ± 3.2983.51 ± 0.6185.19 ± 2.8683.94 ± 2.52
F1 score86.66 ± 2.0788.29 ± 1.3883.94 ± 2.4489.55 ± 0.4390.24 ± 1.8889.27 ± 1.78
AUC90.03 ± 2.6783.43 ± 3.6487.41 ± 3.2789.86 ± 2.0290.41 ± 2.4488.64 ± 1.74
Severe OSA modelAHI ≥ 30 (N = 1268)/AHI < 30 (N = 1534)
Precision68.29 ± 1.2267.08 ± 0.8468.9 ± 1.0771.32 ± 0.1670.67 ± 2.8670.3 ± 0.7
Recall73.66 ± 1.2668.45 ± 1.9172.16 ± 1.6770.58 ± 0.2476.57 ± 3.3973.34 ± 0.83
Accuracy72.59 ± 0.9970.52 ± 0.8872.66 ± 1.0473.84 ± 0.0475.95 ± 2.2473.91 ± 0.48
F1 score70.86 ± 1.0267.75 ± 1.1970.49 ± 1.2570.95 ± 0.0473.44 ± 2.2871.79 ± 0.46
AUC80.87 ± 0.3675.97 ± 0.6480.8 ± 0.583.13 ± 0.1783.24 ± 1.6981.59 ± 0.71
Abbreviations: AHI, apnea–hypopnea index; LR, logistic regression; kNN, k-nearest neighbors; NB, naïve Bayes; SVM, support vector machine; RF, random forest; XGBoost, extreme gradient boosting; AUC, area under the curve. Data are expressed as the mean and standard deviation
Table 5. Classification of the results of the random forest model for screening moderate to severe and severe risks of OSA by using the testing data set.
Table 5. Classification of the results of the random forest model for screening moderate to severe and severe risks of OSA by using the testing data set.
Categorical VariablesModerate-to-Severe OSA ModelSevere OSA Model
AHI ≥ 15 (N = 513); AHI < 15 (N = 188)AHI ≥30 (N = 315); AHI < 30 (N = 386)
Precision %85.7467.72
Recall %94.9374.6
Accuracy %84.7472.61
F1 Score %90.171.0
AUC, % (95% CI)89.58 (87.44–92.01)80.07 (77.05–82.80)
Abbreviations: AHI, apnea–hypopnea index; AUC, area under the curve; CI, confidence interval.
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Tsai, C.-Y.; Huang, H.-T.; Cheng, H.-C.; Wang, J.; Duh, P.-J.; Hsu, W.-H.; Stettler, M.; Kuan, Y.-C.; Lin, Y.-T.; Hsu, C.-R.; et al. Screening for Obstructive Sleep Apnea Risk by Using Machine Learning Approaches and Anthropometric Features. Sensors 2022, 22, 8630. https://doi.org/10.3390/s22228630

AMA Style

Tsai C-Y, Huang H-T, Cheng H-C, Wang J, Duh P-J, Hsu W-H, Stettler M, Kuan Y-C, Lin Y-T, Hsu C-R, et al. Screening for Obstructive Sleep Apnea Risk by Using Machine Learning Approaches and Anthropometric Features. Sensors. 2022; 22(22):8630. https://doi.org/10.3390/s22228630

Chicago/Turabian Style

Tsai, Cheng-Yu, Huei-Tyng Huang, Hsueh-Chien Cheng, Jieni Wang, Ping-Jung Duh, Wen-Hua Hsu, Marc Stettler, Yi-Chun Kuan, Yin-Tzu Lin, Chia-Rung Hsu, and et al. 2022. "Screening for Obstructive Sleep Apnea Risk by Using Machine Learning Approaches and Anthropometric Features" Sensors 22, no. 22: 8630. https://doi.org/10.3390/s22228630

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop