define_CVfolds: Define fold ID column for cross-validation

Description Usage Arguments

View source: R/DataStorageClass.R

Description

Define fold ID column for cross-validation

Usage

1
define_CVfolds(data, nfolds = 5, fold_column = "fold_ID", seed = NULL)

Arguments

data

Object of class DataStorageClass (returned by calling importData function).

nfolds

The number of folds to use in V fold cross-validation.

fold_column

The name for the column that will contain the fold IDs.

seed

Fix the seed for random generator.


osofr/stremr documentation built on Jan. 25, 2022, 8:07 a.m.