get_inner: Get the inner folds for the nested resampling

Description Usage Arguments Value

View source: R/ml_benchmark.R

Description

Get the inner folds for the nested resampling

Usage

1
get_inner(FINAL, NU, REPS, SPCV)

Arguments

FINAL

logical, selects the type of runs, if FALSE trains, else predict

NU

numeric, number of folds for the ν-fold cross-validation

REPS

numeric, number of repetitions for the repeated ν-fold cross-validation

SPCV

logical, if TRUE activates the spatial cross-validation. This also deactivates the stratification of the folds.

Value

a ResampleDesc describing the type of resampling


hrvg/RiverML documentation built on Oct. 12, 2020, 10:40 a.m.