make_folds {deepregression} | R Documentation |
Generate folds for CV out of one hot encoded matrix
make_folds(mat, val_train = 0, val_test = 1)
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 |
val_train
and val_test
can both be a set of value