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: 2 -2.33096933 -2.17079120 #> 2: 1 0.33908313 -0.22146934 #> 3: 1 -0.04077866 1.76733471 #> 4: 2 -0.57283563 -1.28701007 #> 5: 2 0.45207963 -1.89601201 #> 6: 2 -0.58163589 -0.52392794 #> 7: 1 2.31079543 1.23023364 #> 8: 2 -1.47791426 0.01529995 #> 9: 1 -0.34258247 1.89519929 #> 10: 1 1.97128181 -0.06514777