powered by
Randomly partitioning the data into folders
foldsComposition(n, K)
number of observations
number of classes
a vector v of length n with v[i] = the class of observation i.
v
n
v[i]
i
crossValidation