{"title":"Construction and Validation of a Machine Learning-Based Risk Prediction Model for Sleep Quality in Patients with OSA.","authors":"Yangyang Tong, Kuo Wen, Enguang Li, Fangzhu Ai, Ping Tang, Hongjuan Wen, Botang Guo","doi":"10.2147/NSS.S516912","DOIUrl":null,"url":null,"abstract":"<p><strong>Objective: </strong>The aim of this study was to establish a risk prediction model for sleep quality in patients with obstructive sleep apnea (OSA) based on machine learning algorithms with optimal predictive performance.</p><p><strong>Methods: </strong>A total of 400 OSA patients were included in this study. A LightGBM model was constructed and compared with other machine learning models, in terms of performance metrics such as the area under the receiver operating characteristic curve (AUC), calibration curves, and decision curve analysis (DCA). The SHapley Additive exPlanation (SHAP) analysis was used to interpret the model and identify key predictors of sleep quality.</p><p><strong>Results: </strong>The LightGBM model demonstrated the best predictive performance, with an AUC of 0.910 in the validation set, outperforming support vector machine and random forest. SHAP analysis identified six key predictors of sleep quality: depressive symptoms, OSA duration, oxygen desaturation index (ODI), anxiety symptoms, exercise frequency, and coffee consumption. The model's calibration curve indicated a high degree of agreement between predicted and observed outcomes, and DCA confirmed its clinical utility.</p><p><strong>Conclusion: </strong>The LightGBM model is the best choice for predicting sleep quality in patients with OSA. Depressive symptoms and ODI were the most influential factors negatively associated with sleep quality. This study not only deepens understanding of the factors affecting sleep quality in OSA patients, but also provides a powerful predictive tool for clinical doctors. Future research can explore the potential of incorporating these predictive factors into comprehensive treatment strategies to improve patient prognosis and overall quality of life.</p>","PeriodicalId":18896,"journal":{"name":"Nature and Science of Sleep","volume":"17 ","pages":"1271-1289"},"PeriodicalIF":3.4000,"publicationDate":"2025-06-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12170853/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Nature and Science of Sleep","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.2147/NSS.S516912","RegionNum":2,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/1/1 0:00:00","PubModel":"eCollection","JCR":"Q2","JCRName":"CLINICAL NEUROLOGY","Score":null,"Total":0}
引用次数: 0
Abstract
Objective: The aim of this study was to establish a risk prediction model for sleep quality in patients with obstructive sleep apnea (OSA) based on machine learning algorithms with optimal predictive performance.
Methods: A total of 400 OSA patients were included in this study. A LightGBM model was constructed and compared with other machine learning models, in terms of performance metrics such as the area under the receiver operating characteristic curve (AUC), calibration curves, and decision curve analysis (DCA). The SHapley Additive exPlanation (SHAP) analysis was used to interpret the model and identify key predictors of sleep quality.
Results: The LightGBM model demonstrated the best predictive performance, with an AUC of 0.910 in the validation set, outperforming support vector machine and random forest. SHAP analysis identified six key predictors of sleep quality: depressive symptoms, OSA duration, oxygen desaturation index (ODI), anxiety symptoms, exercise frequency, and coffee consumption. The model's calibration curve indicated a high degree of agreement between predicted and observed outcomes, and DCA confirmed its clinical utility.
Conclusion: The LightGBM model is the best choice for predicting sleep quality in patients with OSA. Depressive symptoms and ODI were the most influential factors negatively associated with sleep quality. This study not only deepens understanding of the factors affecting sleep quality in OSA patients, but also provides a powerful predictive tool for clinical doctors. Future research can explore the potential of incorporating these predictive factors into comprehensive treatment strategies to improve patient prognosis and overall quality of life.
期刊介绍:
Nature and Science of Sleep is an international, peer-reviewed, open access journal covering all aspects of sleep science and sleep medicine, including the neurophysiology and functions of sleep, the genetics of sleep, sleep and society, biological rhythms, dreaming, sleep disorders and therapy, and strategies to optimize healthy sleep.
Specific topics covered in the journal include:
The functions of sleep in humans and other animals
Physiological and neurophysiological changes with sleep
The genetics of sleep and sleep differences
The neurotransmitters, receptors and pathways involved in controlling both sleep and wakefulness
Behavioral and pharmacological interventions aimed at improving sleep, and improving wakefulness
Sleep changes with development and with age
Sleep and reproduction (e.g., changes across the menstrual cycle, with pregnancy and menopause)
The science and nature of dreams
Sleep disorders
Impact of sleep and sleep disorders on health, daytime function and quality of life
Sleep problems secondary to clinical disorders
Interaction of society with sleep (e.g., consequences of shift work, occupational health, public health)
The microbiome and sleep
Chronotherapy
Impact of circadian rhythms on sleep, physiology, cognition and health
Mechanisms controlling circadian rhythms, centrally and peripherally
Impact of circadian rhythm disruptions (including night shift work, jet lag and social jet lag) on sleep, physiology, cognition and health
Behavioral and pharmacological interventions aimed at reducing adverse effects of circadian-related sleep disruption
Assessment of technologies and biomarkers for measuring sleep and/or circadian rhythms
Epigenetic markers of sleep or circadian disruption.