Skip to main content
Top

Screening for moderate to severe obstructive sleep apnea by using heart rate variability features based on random forest algorithm

Published in:

Abstract

Purpose

More than 80% of patients with moderate to severe obstructive sleep apnea (OSA) are still not diagnosed timely. The prediction model based on random forest (RF) algorithm was established by using heart rate variability (HRV), clinical and demographic features so as to screen for the patients with high risk of moderate and severe obstructive sleep apnea.

Methods

The sleep monitoring data of 798 patients were randomly divided into training set (n = 558) and test set (n = 240) in 7:3 proportion. Grid search was applied to determine the best parameters of the RF model. 10-fold cross validation was utilized to evaluate the predictive performance of the RF model, which was then compared to the performance of the Logistic regression model.

Results

Among the 798 patients, 638 were males and 160 were females, with the average age of 43.51 years old and the mean body mass index (BMI) of 25.92 kg/m2. The sensitivity, specificity, accuracy, F1 score and the area under receiver operating characteristic curve for RF model and Logistic regression model were 94.68% vs. 73.94%; 73.08% vs. 86.54%; 90.00% vs. 76.67%; 0.94 vs. 0.83 and 0.83 vs. 0.80 respectively.

Conclusions

The RF prediction model can effectively distinguish patients with moderate to severe OSA, which is expected to carry out in a large-scale population in order to screening for high-risk patients, and helps to evaluate the effect of OSA treatment continuously.
Title
Screening for moderate to severe obstructive sleep apnea by using heart rate variability features based on random forest algorithm
Authors
Chenxu Zhang
Liangcai Yu
Lin Li
Ping Zeng
Xiaoqing Zhang
Publication date
10-09-2024
Publisher
Springer International Publishing
Published in
Sleep and Breathing / Issue 6/2024
Print ISSN: 1520-9512
Electronic ISSN: 1522-1709
DOI
https://doi.org/10.1007/s11325-024-03151-9
This content is only visible if you are logged in and have the appropriate permissions.

Keynote webinar | Spotlight on progress in colorectal cancer

  • Live
  • Webinar | 11-12-2025 | 18:00 (CET)

CRC remains a major global health burden, but advances in screening, treatment, and lifestyle-based prevention continue to reshape clinical practice. Gain insights into how the latest research can be leveraged to optimize patient care across the CRC continuum.

Watch it live: Thursday 11 December 2025, 18:00-19:30 (CET)

Prof. Antoni Castells
Prof. Edward Giovannucci
Prof. Harpreet Wasan
Join the webinar
Webinar

Keynote webinar | Spotlight on functional neurological disorder

FND perplexes and frustrates patients and physicians alike. Limited knowledge and insufficient awareness delays diagnosis and treatment, and many patients feel misunderstood and stigmatized. How can you recognize FND and what are the treatment options?

Prof. Mark Edwards
Watch now
Video
Image Credits
Colon cancer illustration/© (M) KATERYNA KON / SCIENCE PHOTO LIBRARY / Getty Images, Human brain illustration/© (M) CHRISTOPH BURGSTEDT / SCIENCE PHOTO LIBRARY / Getty Images