
Last chance! 50% off unlimited learning
Sale ends in
A simple mlr3misc::Dictionary storing objects of class Resampling.
Each resampling has an associated help page, see mlr_resamplings_[id]
.
This dictionary can get populated with additional resampling strategies by add-on packages.
For a more convenient way to retrieve and construct resampling strategies, see rsmp()
.
R6::R6Class object inheriting from mlr3misc::Dictionary.
See mlr3misc::Dictionary.
as.data.table(dict)
mlr3misc::Dictionary -> data.table::data.table()
Returns a data.table::data.table()
with columns "key"
, "params"
, and "iters"
.
Example resamplings: cv
, bootstrap
Sugar function: rsmp()
Other Dictionary: mlr_learners
,
mlr_measures
,
mlr_task_generators
,
mlr_tasks
Other Resampling: Resampling
# NOT RUN {
as.data.table(mlr_resamplings)
mlr_resamplings$get("cv")
rsmp("subsampling")
# }
Run the code above in your browser using DataLab