Figure 1

Detailed illustration of dataset generation. The records for individual patients were divided into training and test dataset, and intubated and non-intubated patients were labeled 1 and 0, respectively. Multiple samples were extracted with a random duration (1–3 h) containing the cutoff time (\({t}_{c}\)), which corresponded to the fixed time before the intubation time or last record time.