Moons Classification Task Generator
A TaskGenerator creating two interleaving half circles ("moons") as binary classification problem.
This TaskGenerator can be instantiated via the dictionary mlr_task_generators or with the associated sugar function tgen()
:
mlr_task_generators$get("moons") tgen("moons")
mlr3::TaskGenerator
-> TaskGeneratorMoons
new()
Creates a new instance of this R6 class.
TaskGeneratorMoons$new()
plot()
Creates a simple plot of generated data.
TaskGeneratorMoons$plot(n = 200L, pch = 19L, ...)
clone()
The objects of this class are cloneable with this method.
TaskGeneratorMoons$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("moons") plot(generator, n = 200) task = generator$generate(200) str(task$data())
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.