KFold: K-Folds cross validation index generator

Description Usage Arguments Value

View source: R/KFold.R

Description

Generates a list of indices for K-Folds Cross-Validation.

Usage

1
KFold(target, nfolds = 10, stratified = FALSE, seed = 0)

Arguments

target

Samples to split in K folds.

nfolds

Number of folds.

stratified

whether to apply Stratified KFold.

seed

random seed to be used.

Value

a list of indices for K-Folds Cross-Validation


rBayesianOptimization documentation built on May 29, 2017, 10:43 p.m.