Machine Learning Models Using Electronic Health Record Data to Predict Obstructive Sleep Apnea
Hwang, N. H.; Mazzotti, D. R.; Mishra, S.; Westover, M. B.; Hwang, D.; Thomas, R. J.; Mignot, E.; Katwa, U.; Shi, J. M.; Yan, R.; Becker, K. A.; Klimper, M. T.; Jara, J.; Stevens, D. R.; Gratton, M. K. P.; Sun, H.
Show abstract
Rationale: Obstructive sleep apnea (OSA) is highly prevalent yet largely under-diagnosed. Current screening strategies rely on effortful questionnaires with modest accuracy, and prior machine learning models often require resource-intensive inputs and lack external validation. Objectives: To develop and validate machine learning models to predict OSA (apnea-hypopnea index [AHI4%][≥]5) and moderate-severe OSA (AHI4%[≥]15) using only routinely collected electronic health record (EHR) data, test cross-system transferability and compare performance with clinical screeners and a Bayesian risk-updating framework. Methods: Three tree-ensemble families (XGBoost, random forests, and histogram-based gradient boosting) were trained on an adult cohort with sleep-study results at Kaiser Permanente (KPSC), using full (106-feature) and minimal (age, sex, body-mass index, race/ethnicity) predictor sets and tuned by nested cross-validation. XGBoost models were selected, internally and temporally validated, and externally validated at University of Kansas Medical Center (KUMC). Measurements and Main Results: On our internal hold-out set (n=53,048), the full XGBoost model reached a ROC-AUC of 0.791 for any OSA and 0.768 for moderate-severe OSA. The minimal model retained most performance (0.764 and 0.736). Temporal performance was stable. Externally, frozen models showed lower AUCs (0.718 and 0.690 for full models; 0.725 and 0.706 for minimal models) but similar to KUMC-native models and improved further with transfer learning. The models significantly outperformed STOP-BANG (AUC difference 0.06-0.09 for predicting any OSA; p<0.001). Bayesian updating with select patient-reported items further improved discrimination. Conclusions: Machine learning models based on EHR data can predict OSA probability that outperform existing screeners, transfers across systems, and offers potential for EHR implementation.
Matching journals
The top 10 journals account for 50% of the predicted probability mass.
Similar papers in this journal
- A clinical trial to evaluate the dayzz smartphone app on employee sleep, health, and productivity at a large US employer 93%
- Quantitative detection of sleep apnea with wearable watch device 91%
- Discrimination of sleep and wake periods from a hip-worn raw acceleration sensor using recurrent neural networks 91%
Similar papers in this journal
- Accelerometer-derived sleep onset timing and cardiovascular disease incidence: a UK Biobank cohort study 89%
- Automated Diagnostic Reports from Images of Electrocardiograms at the Point-of-Care 89%
- Using ECG Machine Learning for Detection of Cardiovascular Disease in African American Men and Women: the Jackson Heart Study 88%
Similar papers in this journal
- Identification of acute exacerbations of chronic obstructive pulmonary disease using simple patient-reported symptoms and cough feature analysis: A diagnostic agreement study 92%
- A comprehensive ML-based Respiratory Monitoring System for Physiological Monitoring & Resource Planning in the ICU 91%
- Passive Detection of COVID-19 with Wearable Sensors and Explainable Machine Learning Algorithms 91%
Similar papers in this journal
- Extraction of Sleep Information from Clinical Notes of Patients with Alzheimer’s Disease Using Natural Language Processing 94%
- Development and Validation of Phenotype Classifiers across Multiple Sites in the Observational Health Sciences and Informatics (OHDSI) Network 89%
- Temporally-Informed Random Forests for Suicide Risk Prediction 89%
Similar papers in this journal
- Novel Digital Markers of Sleep Dynamics: A Causal Inference Approach Revealing Age and Gender Phenotypes in Obstructive Sleep Apnea 93%
- Scalable Incident Detection via Natural Language Processing and Probabilistic Language Models 92%
- Is sleep apnea-hypopnea index relevant for impaired brain perfusion and desaturation in patients with severe obstructive sleep apnea syndromes? 91%
"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.