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: 22.410849 0.6185862 0.93902985 0.5055966 0.87891859 0.75468287 #> 2: 6.970719 0.4487632 0.40748210 0.7527904 0.07565599 0.01974303 #> 3: 16.211902 0.8065996 0.77218033 0.4517070 0.37663696 0.61984479 #> 4: 19.197882 0.8706069 0.38821531 0.7646166 0.64049430 0.56854034 #> 5: 1.809865 0.9861827 0.03262791 0.5625824 0.02532318 0.15136774 #> 6: 7.130587 0.4026366 0.39621429 0.7354057 0.20694839 0.05149201 #> 7: 15.813641 0.3521319 0.95892353 0.7303291 0.63380508 0.04190340 #> 8: 11.596676 0.1218987 0.52233081 0.3404902 0.90606274 0.17674357 #> 9: 15.116562 0.9906131 0.67379266 0.6974922 0.49589581 0.24487430 #> 10: 6.527537 0.9357297 0.01020669 0.5395533 0.17726884 0.78931084 #> unimportant1 unimportant2 unimportant3 unimportant4 unimportant5 #> 1: 0.17362529 0.3966792 0.1670085 0.47874070 0.17570166 #> 2: 0.96941964 0.4979705 0.5405312 0.81524044 0.82826334 #> 3: 0.49123529 0.4004592 0.3777661 0.18194310 0.62406209 #> 4: 0.39639935 0.2177307 0.8788231 0.97099332 0.77440132 #> 5: 0.50985957 0.7486472 0.8697252 0.63704500 0.76667963 #> 6: 0.83438798 0.6545168 0.2854960 0.94319649 0.24265204 #> 7: 0.05609970 0.5204528 0.3001589 0.52041700 0.23916433 #> 8: 0.08419989 0.2091860 0.3537037 0.83153664 0.28606062 #> 9: 0.93264847 0.7363546 0.4631184 0.97106480 0.07648040 #> 10: 0.95822962 0.5200675 0.5493398 0.02851525 0.08547614