Fig. 2

Artificial neural network algorithm diagram. The 97 input features were extracted from the channels, processed by the hidden layer with 128 neurons, resulting in a single neuron output that predicted whether the patient was sleep or awake. \(\hbox {SpO}_2\) oxygen saturation, ReLU rectified linear unit.