Learn R Programming

DiceEval (version 1.4)

foldsComposition: Setting up the Cross Validation

Description

Randomly partitioning the data into folders

Usage

foldsComposition(n, K)

Arguments

n

number of observations

K

number of classes

Value

a vector v of length n with v[i] = the class of observation i.

See Also

crossValidation