makePreprocWrapper: Fuse learner with preprocessing.
Description
Fuses a base learner with a preprocessing method. Creates
a learner object, which can be used like any other
learner object, but which internally preprocesses the
data as requested. If the train or predict function is
called on data / a task, the preprocessing is always
performed automatically.Usage
makePreprocWrapper(learner, train, predict,
par.set = makeParamSet(), par.vals = list())