Learn R Programming

mlr3 (version 0.1.2)

TaskGeneratorXor: XOR Classification Task Generator

Description

A TaskGenerator for the xor task in mlbench::mlbench.xor().

Usage

TaskGeneratorXor

Arguments

Format

R6::R6Class inheriting from TaskGenerator.

Construction

TaskGeneratorXor$new()
mlr_task_generators$get("xor")
tgen("xor")

See Also

Dictionary of TaskGenerators: mlr_task_generators

Examples

Run this code
# NOT RUN {
tgen("xor")$generate(10)$data()
# }

Run the code above in your browser using DataLab