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