Description Usage Arguments Value Author(s) See Also Examples
A subscheme is a resampling scheme that only includes observations in the training set of a fold. This function automatically fetches the type and parameters of the prototype fold and use them to generate the subscheme.
1 | subresample(fold, y)
|
fold |
A resampling scheme or fold to use to define the sub scheme(s). |
y |
The observations used to create the resampling scheme. See
|
A resampling scheme.
Christofer Bäcklin
1 2 | cv <- resample("holdout", y=1:12, test_fraction=1/4, nfold=3)
inner.cv <- subresample(cv, y=1:12)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.