The data set was divided into a training set and a testing set by means of leave-one-out cross validation (LOO-CV). Conceptually, one sample was removed from the entire data set (N) and was used as the testing set, whereas the remaining samples (N-1) were used as the training set. The same sampling process was continued until every sample in the data set was used as the testing set to predict the variable Y (activity).