Figure 5

Overview of the cross-validation process (one-fold) that is repeated n times. In each fold, the model that was used to predict the test participant was trained on the remaining n − 1 samples in order to avoid data leakage. Within the training stage, 25% of the n − 1 participants were used as the validation set. The model with the highest validation accuracy was chosen to predict the left-out participant sample.