mlr3pipelines icon indicating copy to clipboard operation
mlr3pipelines copied to clipboard

New PipeOp to create splines expansions.

Open nipnipj opened this issue 3 years ago • 2 comments

This can be done using splines::ns(). See https://rdrr.io/r/splines/ns.html Maybe there are other alternatives.

nipnipj avatar Sep 15 '21 13:09 nipnipj

Looking forward to

zhjx19 avatar Oct 02 '22 08:10 zhjx19

This can currently be achieved with: pop = po("modelmatrix", formula = ~ splines::ns(x1, 5)) pop$train(list(task))[[1]]$data()

zhjx19 avatar Oct 02 '22 08:10 zhjx19