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

GeneratorFriedman1

Format

R6::R6Class inheriting from Generator.

Examples

mlr_generators$get("friedman1")$generate(10)$data()
#> y important1 important2 important3 important4 important5 #> 1: 21.884768 0.6474421 0.76198532 0.6753624 0.66960355 0.852364600 #> 2: 19.188400 0.4686192 0.52739494 0.1485937 0.54652279 0.583562863 #> 3: 22.730848 0.6179261 0.86098936 0.7453418 0.81146366 0.668323644 #> 4: 20.200974 0.2708154 0.67355499 0.9425989 0.75916680 0.511314597 #> 5: 4.983246 0.1572953 0.01304103 0.4207834 0.02006847 0.762750589 #> 6: 12.521517 0.1142543 0.69319890 0.2977231 0.38090370 0.903362288 #> 7: 15.084123 0.5076829 0.89171373 0.2594267 0.05088011 0.820474512 #> 8: 20.355283 0.5480323 0.63185018 0.2228813 0.79790294 0.071431850 #> 9: 9.435634 0.1406462 0.10729465 0.5656543 0.92369921 0.003896343 #> 10: 11.615825 0.1697691 0.92106520 0.7566501 0.54259837 0.052198616 #> unimportant1 unimportant2 unimportant3 unimportant4 unimportant5 #> 1: 0.8665602 0.3637427 0.77062296 0.38917032 0.95657976 #> 2: 0.5762452 0.8565970 0.59636296 0.41755496 0.04396663 #> 3: 0.3138426 0.6979466 0.95766974 0.09292582 0.37215774 #> 4: 0.9594658 0.6844865 0.15868840 0.16180921 0.96261534 #> 5: 0.5911938 0.3480151 0.52597427 0.40541650 0.64542752 #> 6: 0.5314093 0.5546818 0.87315137 0.34181444 0.06126261 #> 7: 0.3839367 0.1372436 0.86970607 0.41525745 0.40994593 #> 8: 0.3195532 0.7849316 0.02368864 0.30405247 0.42590513 #> 9: 0.8083863 0.8868626 0.97588969 0.56028054 0.50815808 #> 10: 0.0419195 0.2040959 0.49022420 0.15587415 0.44959991