View source: R/trans_pipeline.R
| trans_pipeline | R Documentation |
A daltoolbox::dal_transform() that chains a sequence of transforms. fit() fits
each step on the output of the previous one, and transform() applies the fitted steps in order.
It lets a model take its preprocessing as a configurable list of transforms instead of a fixed
one-hot-plus-normalization.
trans_pipeline(steps)
steps |
A list of |
A trans_pipeline object.
library(daltoolbox)
pipe <- trans_pipeline(list(one_hot(), zscore()))
pipe <- fit(pipe, iris)
head(transform(pipe, iris))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.