Setting up the Cross Validation
Randomly partitioning the data into folders
foldsComposition(n, K)
n
: number of observationsK
: number of classescrossValidation
a vector v
of length n
with v[i]
= the class of observation i
.
D. Dupuy
Useful links