Related Experiment Video
Updated: May 17, 2025

A Model to Simulate Clinically Relevant Hypoxia in Humans
Published on: December 22, 2016
The use of heart rate variability, oxygen saturation, and anthropometric data with machine learning to predict the
Rafael Rodrigues Dos Santos1, Matheo Bellini Marumo2, Alan Luiz Eckeli3
1Department of Physiology, School of Medicine of Ribeirao Preto, University of Sao Paulo, Ribeirão Preto, Brazil.
Introduction:
Obstructive sleep apnea (OSA) is a prevalent sleep disorder with a high rate of undiagnosed patients, primarily due to the complexity of its diagnosis made by polysomnography (PSG). Considering the severe comorbidities associated with OSA, especially in the cardiovascular system, the development of early screening tools for this disease is imperative. Heart rate variability (HRV) is a simple and non-invasive approach used as a probe to evaluate cardiac autonomic modulation, with a variety of newly developed indices lacking studies with OSA patients.
Objectives:
We aimed to evaluate numerous HRV indices, derived from linear but mainly nonlinear indices, combined or not with oxygen saturation indices, for detecting the presence and severity of OSA using machine learning models.
Methods:
ECG waveforms were collected from 291 PSG recordings to calculate 34 HRV indices. Minimum oxygen saturation value during sleep (SatMin), the percentage of total sleep time the patient spent with oxygen saturation below 90% (T90), and patient anthropometric data were also considered as inputs to the models. The Apnea-Hypopnea Index (AHI) was used to categorize into severity classes of OSA (normal, mild, moderate, severe) to train multiclass or binary (normal-to-mild and moderate-to-severe) classification models, using the Random Forest (RF) algorithm. Since the OSA severity groups were unbalanced, we used the Synthetic Minority Over-sampling Technique (SMOTE) to oversample the minority classes.
Results:
Multiclass models achieved a mean area under the ROC curve (AUROC) of 0.92 and 0.86 in classifying normal individuals and severe OSA patients, respectively, when using all attributes. When the groups were dichotomized into normal-to-mild OSA vs. moderate-to-severe OSA, an AUROC of 0.83 was obtained. As revealed by RF, the importance of features indicates that all feature modalities (HRV, SpO2, and anthropometric variables) contribute to the top 10 ranks.
Conclusion:
The present study demonstrates the feasibility of using classification models to detect the presence and severity of OSA using these indices. Our findings have the potential to contribute to the development of rapid screening tools aimed at assisting individuals affected by this condition, to expedite diagnosis and initiate timely treatment.
Related Concept Videos
Sleep Apnea
The condition is more prevalent among...
Assessment of Airway, Skin Color, and Use of Accessory Muscles
Introduction
The initial evaluation of a patient's respiratory system...
Special considerations while measuring oxygen saturation
Ensuring accuracy in vital sign recordings while prioritizing patient comfort and minimizing anxiety is...
Physical Assessment of the Respiratory Tract II: Inspection
Chest Configuration
The chest configuration...
Assessment of Ventilation I: Respiratory Rate
A Ventilation assessment is critical for monitoring a patient's health status. Respiration, one of the most accessible vital signs, provides insights into the function of numerous body systems and can indicate serious health issues, such as brainstem injuries from head trauma.
Critical Guidelines for Assessing Ventilation:
Assessment of Ventilation II: Respiratory Depth and Rhythm
Respiratory depth measures the volume of air inhaled or exhaled during a breath. It can vary from shallow to deep and typically remains consistent when a person is at rest or asleep. Occasionally, individuals will automatically inhale deeply, known as sighing, which inflates the lungs with more air than normal breathing.
To assess respiratory depth, observe the degree of chest excursion or movement:

