make_folds: Generate folds for CV out of one hot encoded matrix

Description Usage Arguments Details

View source: R/cross-validation.R

Description

Generate folds for CV out of one hot encoded matrix

Usage

1
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


deepregression documentation built on Oct. 5, 2021, 1:06 a.m.