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.65959497 0.8910008 #> 2: 1 -0.67059161 0.9126929 #> 3: 2 0.66419209 1.0164841 #> 4: 2 0.81818472 1.0364115 #> 5: 3 0.06662820 0.2052171 #> 6: 3 -0.08677844 0.4454002 #> 7: 4 -0.67963037 -0.5005495 #> 8: 4 0.70686048 -0.5758066 #> 9: 4 0.69547832 -0.5210673 #> 10: 4 -0.04422637 -1.0428414