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
. 2012 Feb;21(1):101-12.
doi: 10.1111/j.1365-2869.2011.00935.x. Epub 2011 Jul 14.

Classification algorithms for predicting sleepiness and sleep apnea severity

Affiliations

Classification algorithms for predicting sleepiness and sleep apnea severity

Nathaniel A Eiseman et al. J Sleep Res. 2012 Feb.

Abstract

Identifying predictors of subjective sleepiness and severity of sleep apnea are important yet challenging goals in sleep medicine. Classification algorithms may provide insights, especially when large data sets are available. We analyzed polysomnography and clinical features available from the Sleep Heart Health Study. The Epworth Sleepiness Scale and the apnea-hypopnea index were the targets of three classifiers: k-nearest neighbor, naive Bayes and support vector machine algorithms. Classification was based on up to 26 features including demographics, polysomnogram, and electrocardiogram (spectrogram). Naive Bayes was best for predicting abnormal Epworth class (0-10 versus 11-24), although prediction was weak: polysomnogram features had 16.7% sensitivity and 88.8% specificity; spectrogram features had 5.3% sensitivity and 96.5% specificity. The support vector machine performed similarly to naive Bayes for predicting sleep apnea class (0-5 versus >5): 59.0% sensitivity and 74.5% specificity using clinical features and 43.4% sensitivity and 83.5% specificity using spectrographic features compared with the naive Bayes classifier, which had 57.5% sensitivity and 73.7% specificity (clinical), and 39.0% sensitivity and 82.7% specificity (spectrogram). Mutual information analysis confirmed the minimal dependency of the Epworth score on any feature, while the apnea-hypopnea index showed modest dependency on body mass index, arousal index, oxygenation and spectrogram features. Apnea classification was modestly accurate, using either clinical or spectrogram features, and showed lower sensitivity and higher specificity than common sleep apnea screening tools. Thus, clinical prediction of sleep apnea may be feasible with easily obtained demographic and electrocardiographic analysis, but the utility of the Epworth is questioned by its minimal relation to clinical, electrocardiographic, or polysomnographic features.

PubMed Disclaimer

Conflict of interest statement

CONFLICTS OF INTEREST

Dr Bianchi, Dr Westover and Nathaniel Eiseman have no conflicts of interest to report. Dr Thomas has consulted for Total Sleep Holdings, has a patent for CO2 adjunctive therapy for complex sleep apnea, and an ECG-based method to assess sleep stability and phenotype sleep apnea. Dr Thomas and Mr Mietus are co-inventors of the sleep spectrogram method (licensed by the BIDMC to Embla), and share patent rights and royalties.

Figures

Figure 1
Figure 1
Distribution of clinical features in the Sleep Heart Health Study (SHHS) subjects. Histograms of various clinical features are shown in overlapped bars, where dark grey represents subjects with at least one missing data point, and light grey representing subjects with complete data. We studied 27 features in total. Twenty-five are shown in this figure; arousal index (AI) in non-rapid eye movement (NREM) and REM are not shown, but demonstrated similar complete versus missing distributions. See Table 1 for description of features.
Figure 2
Figure 2
Spearman’s correlation of clinical features with Epworth Sleepiness Scale (ESS) and apnea–hypopnea index (AHI). R-values for correlation between ESS (a) and AHI (b) are shown for the listed clinical features. Scatterplots are shown for representative pairs: ESS versus AHI (c) and AHI versus body mass index (BMI) (d).
Figure 3
Figure 3
Performance of the naive Bayes classifier in predicting Epworth Sleepiness Scale (ESS) and apnea–hypopnea index (AHI) classes. The prediction power of the naive Bayes classifier algorithm is shown for ESS based on polysomnogram (PSG) features (a), electrocardiogram (ECG) features (b) or a combination of all 26 available features (c). The prediction power of the naive Bayes classifier algorithm is shown for AHI based on clinical features (d), ECG features (e) or a combination of features (f). For (f), the combination included clinical, ECG and only those PSG values not related to apnea index [excluded arousal, respiratory disturbance index (RDI) and oxygen metrics].
Figure 4
Figure 4
Performance of the support vector machine (SVM) classifier in predicting apnea–hypopnea index (AHI) class. The prediction power of the SVM algorithm is shown for AHI based on clinical features (a), electroencephalogram (ECG) features (b) or a combination of these and non-respiratory polysomnogram (PSG) features (n = 19 features) (c). The parameters gamma, C and epsilon were first searched manually across log-units and then more narrow choices until the shown values were obtained. The parameters used in the data shown were: gamma 0.1, C 0.2, epsilon 0.2. Normalized weights from the SVM are shown in (d), where all values are normalized to the largest weight [elevated low-frequency coupling (e-lfc)]. The absolute value of the weights reflect the strength of the relationship between that feature and the AHI class. The dotted lines mark the range of weighting values obtained when the AHI values were scrambled randomly; feature weights within this range are taken to be non-significant.
Figure 5
Figure 5
Mutual information between various features and Epworth Sleepiness Scale (ESS) or apnea–hypopnea index (AHI). The normalized mutual information is shown for various discrete/continuous features compared with ESS (a) and AHI (b). Categorical features were not computed. Note that the vertical axis range is 0–0.05 in (a), while that in (b) is sixfold larger, 0–0.3, emphasizing the striking difference in information between the features and ESS versus AHI. For both plots, the features are stratified from most to least mutual information.

References

    1. Abrishami A, Khajehdehi A, Chung F. A systematic review of screening questionnaires for obstructive sleep apnea. Can. J. Anaesth. 2010;57:423–438. - PubMed
    1. Bassetti CL, Milanova M, Gugger M. Sleep-disordered breathing and acute ischemic stroke: diagnosis, risk factors, treatment, evolution, and long-term clinical outcome. Stroke. 2006;37:967–972. - PubMed
    1. Benbadis SR, Mascha E, Perry MC, Wolgamuth BR, Smolley LA, Dinner DS. Association between the Epworth sleepiness scale and the multiple sleep latency test in a clinical population. Ann. Intern. Med. 1999;130:289–292. - PubMed
    1. Bianchi MT. Screening for obstructive sleep apnea: Bayes weighs in. Open Sleep J. 2009;2:56–59.
    1. Chervin RD. The multiple sleep latency test and Epworth sleepiness scale in the assessment of daytime sleepiness. J. Sleep Res. 2000;9:399–401. - PubMed

Publication types

MeSH terms