powered by
A mlr3::TaskGenerator calling distr6::distrSimulate(). See distr6::distrSimulate() for an explanation of the hyperparameters.
distr6::distrSimulate()
This TaskGenerator can be instantiated via the dictionary mlr_task_generators or with the associated sugar function tgen():
tgen()
mlr_task_generators$get("simdens") tgen("simdens")
mlr3::TaskGenerator -> TaskGeneratorSimdens
mlr3::TaskGenerator
TaskGeneratorSimdens
TaskGeneratorSimdens$new()
TaskGeneratorSimdens$clone()
mlr3::TaskGenerator$format()
mlr3::TaskGenerator$generate()
mlr3::TaskGenerator$print()
new()
Creates a new instance of this R6 class.
clone()
The objects of this class are cloneable with this method.
TaskGeneratorSimdens$clone(deep = FALSE)
deep
Whether to make a deep clone.
Dictionary of TaskGenerators: mlr3::mlr_task_generators
# NOT RUN { generator = mlr3::mlr_task_generators$get("simdens") task = generator$generate(20) task$head() # }
Run the code above in your browser using DataLab