Spiral Classification Task Generator
A TaskGenerator for the spirals task in mlbench::mlbench.spirals()
.
This TaskGenerator can be instantiated via the dictionary mlr_task_generators or with the associated sugar function tgen()
:
mlr_task_generators$get("spirals") tgen("spirals")
mlr3::TaskGenerator
-> TaskGeneratorSpirals
new()
Creates a new instance of this R6 class.
TaskGeneratorSpirals$new()
plot()
Creates a simple plot of generated data.
TaskGeneratorSpirals$plot(n = 200L, pch = 19L, ...)
clone()
The objects of this class are cloneable with this method.
TaskGeneratorSpirals$clone(deep = FALSE)
deep
Whether to make a deep clone.
as.data.table(mlr_resamplings)
for a complete table of all (also dynamically created) TaskGenerator implementations.
generator = tgen("spirals") plot(generator, n = 200) task = generator$generate(200) str(task$data())
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.