This function is used to create a leave-persons-out cross-validation fold vector to be used by
createLeavePersonsOutFolds(gpModel, k = 10)
object of class GPPM.
integer scalar. Number of folds to create.
The folds are created such that the data of each person is fully in one fold.
A fold vector, which is a vector of length
nrow(datas(gpModel)) of integers from 1 to k. If
foldVector[i]=j, then data point i is assigned to fold j.
crossvalidate for how to use the created fold vector to perform cross-validation.
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.