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