Setting up the Cross Validation
Randomly partitioning the data into folders
foldsComposition(n, K)
n |
number of observations |
K |
number of classes |
a vector v
of length n
with v[i]
= the class of observation
i
.
D. Dupuy
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.