make_folds: Generate folds for CV out of one hot encoded matrix
Description
Generate folds for CV out of one hot encoded matrix
Usage
make_folds(mat, val_train = 0, val_test = 1)
Arguments
- mat
matrix with columns corresponding to folds
and entries corresponding to a one hot encoding
- val_train
the value corresponding to train, per default 0
- val_test
the value corresponding to test, per default 1
Details
val_train
and val_test
can both be a set of value