A Generator for the smiley task in mlbench::mlbench.smiley().

GeneratorSmiley

Format

R6::R6Class inheriting from Generator.

Examples

mlr_generators$get("smiley")$generate(10)$data()
#> classes x.1 x.2 #> 1: 1 -0.91709531 1.0888638 #> 2: 1 -0.82421040 1.1502093 #> 3: 2 0.78946561 1.0525401 #> 4: 2 0.75311539 1.0049870 #> 5: 3 0.02505448 0.7150325 #> 6: 3 0.02357395 0.7458474 #> 7: 4 -0.24022592 -1.0077789 #> 8: 4 0.91447534 -0.2188909 #> 9: 4 0.16833211 -1.0017305 #> 10: 4 -0.35798458 -0.8881157