Open p-schaefer opened 2 years ago
Here: https://github.com/curso-r/treesnip/blob/60aade546d340f0c88325506881b7aa4a54f4d33/R/lightgbm.R#L169
and this: https://github.com/curso-r/treesnip/blob/60aade546d340f0c88325506881b7aa4a54f4d33/R/lightgbm.R#L171 should be: func = list(pkg = "dials", fun = "sample_prop"),
func = list(pkg = "dials", fun = "sample_prop"),
Here: https://github.com/curso-r/treesnip/blob/60aade546d340f0c88325506881b7aa4a54f4d33/R/lightgbm.R#L169
and this: https://github.com/curso-r/treesnip/blob/60aade546d340f0c88325506881b7aa4a54f4d33/R/lightgbm.R#L171 should be:
func = list(pkg = "dials", fun = "sample_prop"),