A Generator for the 2d normals task in mlbench::mlbench.2dnormals().

Generator2DNormals

Format

R6::R6Class inheriting from Generator.

Examples

mlr_generators$get("2dnormals")$generate(10)$data()
#> classes x.1 x.2 #> 1: 1 1.2678350 1.2864244 #> 2: 1 1.6532577 1.1263159 #> 3: 2 -1.1227087 0.2722668 #> 4: 1 0.5863235 0.2815338 #> 5: 2 -3.6431490 -1.4503386 #> 6: 1 0.9070590 3.3974525 #> 7: 2 -0.5697153 -0.9888708 #> 8: 2 -0.4646012 0.6335684 #> 9: 1 0.4447216 -0.4385066 #> 10: 2 0.7795029 -1.1905168