mlr_resamplings: Dictionary of Resampling Strategies

mlr_resamplingsR Documentation

Dictionary of Resampling Strategies

Description

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()/rsmps().

Format

R6::R6Class object inheriting from mlr3misc::Dictionary.

Methods

See mlr3misc::Dictionary.

S3 methods

  • as.data.table(dict, ..., objects = FALSE)
    mlr3misc::Dictionary -> data.table::data.table()
    Returns a data.table::data.table() with columns "key", "label", "params", and "iters". If objects is set to TRUE, the constructed objects are returned in the list column named object.

See Also

Sugar functions: rsmp(), rsmps()

Other Dictionary: mlr_learners, mlr_measures, mlr_task_generators, mlr_tasks

Other Resampling: Resampling, mlr_resamplings_bootstrap, mlr_resamplings_custom_cv, mlr_resamplings_custom, mlr_resamplings_cv, mlr_resamplings_holdout, mlr_resamplings_insample, mlr_resamplings_loo, mlr_resamplings_repeated_cv, mlr_resamplings_subsampling

Examples

as.data.table(mlr_resamplings)
mlr_resamplings$get("cv")
rsmp("subsampling")

mlr3 documentation built on Nov. 17, 2023, 5:07 p.m.