| mlr_task_generators {mlr3} | R Documentation |
Dictionary of Task Generators
Description
A simple mlr3misc::Dictionary storing objects of class TaskGenerator.
Each task generator has an associated help page, see mlr_task_generators_[id].
This dictionary can get populated with additional task generators by add-on packages.
For a more convenient way to retrieve and construct task generators, see tgen()/tgens().
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 adata.table::data.table()with fields "key", "label", "task_type", "params", and "packages" as columns. Ifobjectsis set toTRUE, the constructed objects are returned in the list column namedobject.
See Also
Sugar functions: tgen(), tgens()
Other Dictionary:
mlr_learners,
mlr_measures,
mlr_resamplings,
mlr_tasks
Other TaskGenerator:
TaskGenerator,
mlr_task_generators_2dnormals,
mlr_task_generators_cassini,
mlr_task_generators_circle,
mlr_task_generators_friedman1,
mlr_task_generators_moons,
mlr_task_generators_simplex,
mlr_task_generators_smiley,
mlr_task_generators_spirals,
mlr_task_generators_xor
Examples
mlr_task_generators$get("smiley")
tgen("2dnormals")