Get the inner folds for the nested resampling
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 \(\nu\)-fold cross-validation
|
| REPS |
numeric, number of repetitions for the repeated \(\nu\)-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