Description Format Construction Fields Methods Parameters See Also Examples
Splits data into a training set and a test set.
Parameter ratio
determines the ratio of observation going into the training set (default: 2/3).
R6::R6Class inheriting from Resampling.
1 2 3 | ResamplingHoldout$new()
mlr_resamplings$get("holdout")
rsmp("holdout")
|
See Resampling.
See Resampling.
stratify
:: logical(1)
| character()
Enables stratification. See Resampling.
ratio
:: numeric(1)
Ratio of observations to put into the training set.
Dictionary of Resamplings: mlr_resamplings
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.