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
. 2021 Oct 27;9(11):1450.
doi: 10.3390/healthcare9111450.

Towards Validating the Effectiveness of Obstructive Sleep Apnea Classification from Electronic Health Records Using Machine Learning

Affiliations

Towards Validating the Effectiveness of Obstructive Sleep Apnea Classification from Electronic Health Records Using Machine Learning

Jayroop Ramesh et al. Healthcare (Basel). .

Abstract

Obstructive sleep apnea (OSA) is a common, chronic, sleep-related breathing disorder characterized by partial or complete airway obstruction in sleep. The gold standard diagnosis method is polysomnography, which estimates disease severity through the Apnea-Hypopnea Index (AHI). However, this is expensive and not widely accessible to the public. For effective screening, this work implements machine learning algorithms for classification of OSA. The model is trained with routinely acquired clinical data of 1479 records from the Wisconsin Sleep Cohort dataset. Extracted features from the electronic health records include patient demographics, laboratory blood reports, physical measurements, habitual sleep history, comorbidities, and general health questionnaire scores. For distinguishing between OSA and non-OSA patients, feature selection methods reveal the primary important predictors as waist-to-height ratio, waist circumference, neck circumference, body-mass index, lipid accumulation product, excessive daytime sleepiness, daily snoring frequency and snoring volume. Optimal hyperparameters were selected using a hybrid tuning method consisting of Bayesian Optimization and Genetic Algorithms through a five-fold cross-validation strategy. Support vector machines achieved the highest evaluation scores with accuracy: 68.06%, sensitivity: 88.76%, specificity: 40.74%, F1-score: 75.96%, PPV: 66.36% and NPV: 73.33%. We conclude that routine clinical data can be useful in prioritization of patient referral for further sleep studies.

Keywords: electronic health records; machine learning; obstructive; polysomnography; prediction; sleep apnea.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest.

Figures

Figure 1
Figure 1
High level view of the proposed methodology.
Figure 2
Figure 2
Clinical features ordered as per Pearson’s Correlation Coefficient.
Figure 3
Figure 3
Clinical features ordered as per Kendall’s Tau.
Figure 4
Figure 4
Clinical features ordered as per Extremely Randomized Trees.
Figure 5
Figure 5
Clinical features ordered as per Mutual Information.
Figure 6
Figure 6
PSG features ordered as per Pearson’s Correlation Coefficient.
Figure 7
Figure 7
PSG features ordered as per Extremely Randomized Trees.
Figure 8
Figure 8
PSG features ordered as per Mutual Information.

References

    1. Hobson J.A. Sleep Is of the Brain, by the Brain and for the Brain. Nature. 2005;437:1254–1256. doi: 10.1038/nature04283. - DOI - PubMed
    1. Benjafield A.V., Ayas N.T., Eastwood P.R., Heinzer R., Ip M.S.M., Morrell M.J., Nunez C.M., Patel S.R., Penzel T., Pépin J.L., et al. 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. Lévy P., Kohler M., McNicholas W.T., Barbé F., McEvoy R.D., Somers V.K., Lavie L., Pépin J.L. Obstructive Sleep Apnoea Syndrome. Nat. Rev. Dis. 2015;1:15015. doi: 10.1038/nrdp.2015.15. - DOI - PubMed
    1. Semelka M., Wilson J., Floyd R. Diagnosis and Treatment of Obstructive Sleep Apnea in Adults. Am. Fam. Physician. 2016;94:355–360. - PubMed
    1. Ibáñez V., Silva J., Cauli O. A Survey on Sleep Assessment Methods. PeerJ. 2018;6:e4849. doi: 10.7717/peerj.4849. - DOI - PMC - PubMed

LinkOut - more resources