Back to Journals » Nature and Science of Sleep » Volume 17

Elevate Journal

Construction and Validation of a Machine Learning-Based Risk Prediction Model for Sleep Quality in Patients with OSA [Response to Letter]

Authors Guo B

Received 16 July 2025

Accepted for publication 20 July 2025

Published 7 August 2025 Volume 2025:17 Pages 1807—1808

DOI https://doi.org/10.2147/NSS.S554172



Botang Guo

Department of General Practice, The Affiliated Luohu Hospital of Shenzhen University Medical School, Shenzhen, 518001, People’s Republic of China

Correspondence: Botang Guo, Email [email protected]


View the original paper by Dr Tong and colleagues

This is in response to the Letter to the Editor


Dear editor

We appreciate the thoughtful letter and constructive feedback from Wan et al regarding our article

Construction and Validation of a Machine Learning-Based Risk Prediction Model for Sleep Quality in Patients with OSA.1,2

On the Modeling of Temporal Dynamic Features of Oxygen Desaturation (ODI)

We acknowledge the observation that our current model utilizes static features (eg, median ODI) and does not incorporate dynamic temporal features like REM-related clustering. While incorporating such features (eg, minute-by-minute oximetry sequences) may indeed enhance sensitivity to specific OSA subtypes, our aim in the present study was to develop a parsimonious and clinically interpretable model using routinely collected indicators. Nonetheless, we recognize this as an important future direction and agree that the integration of temporal deep learning architectures such as LSTM is promising.

On Potential Overfitting (AUC=1.0 in Training Set)

We agree that an AUC of 1.0 in the training set raises concerns regarding overfitting. In our modeling pipeline, we employed L2 regularization, 10-fold cross-validation, and early stopping to minimize this risk. However, we concur that multi-center validation is critical and appreciate the recommendation to incorporate transfer learning from open-source datasets to improve generalizability.

On Male Sample Dominance and Generalizability

Indeed, our sample was predominantly male (~90%), reflecting local OSA diagnosis patterns. We recognize this as a limitation and are currently expanding data collection to achieve more balanced sex representation.

On Clinical Translation of SHAP Values and Feature Interactions

We appreciate the comment that SHAP values, while helpful for interpretation, may not fully capture feature interactions, especially synergistic mechanisms like depression–ODI interactions. Our exploratory SHAP interaction analysis did suggest potential synergy, but we agree that longitudinal studies and visual analytics tools (eg, risk dashboards) would strengthen clinical applicability.

Thank you again for the insightful comments, which align with our own plans for future model development.

Data Sharing Statement

No new data were created or analyzed in this communication. Data sharing is not applicable.

Author Contributions

BG – Conceptualization, Methodology, Formal analysis, Writing – original draft, Writing – review & editing, Supervision. The author agrees on the journal on which this communication was submitted, agrees on the final version accepted for publication, and agrees to take responsibility and be accountable for the contents of this communication.

Funding

This communication received no specific grant from any funding agency in the public, commercial, or not-for-profit sectors.

Disclosure

The author reports no conflicts of interest in this work.

References

1. Wan H, Li Y, Xu F. Construction and validation of a machine learning-based risk prediction model for sleep quality in patients with OSA. Nat Sci Sleep. 2025;17:1639–1640. doi:10.2147/NSS.S547799

2. Tong Y, Wen K, Li E, et al. Construction and validation of a machine learning-based risk prediction model for sleep quality in patients with OSA. Nat Sci Sleep. 2025;17:1271–1289. doi:10.2147/NSS.S516912

Creative Commons License © 2025 The Author(s). This work is published and licensed by Dove Medical Press Limited. The full terms of this license are available at https://www.dovepress.com/terms and incorporate the Creative Commons Attribution - Non Commercial (unported, 4.0) License. By accessing the work you hereby accept the Terms. Non-commercial uses of the work are permitted without any further permission from Dove Medical Press Limited, provided the work is properly attributed. For permission for commercial use of this work, please see paragraphs 4.2 and 5 of our Terms.