Closed idavydov closed 5 years ago
The problem seems to be the makeModelMultiplexerParamSet
, which has also some other problems. There is no magic happening inside, in theory you could actually construct the ParamSet
manually (but would have to worry about putting in the right requires
). Another solution would be to construct the ParamSet
before adding any more wrappers to the multiplexer:
lrn <- makeModelMultiplexer(base.learners)
ps <- makeModelMultiplexerParamSet(lrn,
makeDiscreteParam('ntree', values=c(100, 500))
)
lrn <- makeRemoveConstantFeaturesWrapper(lrn)
I'm trying to use
makeModelMultiplexer
withmakeRemoveConstantFeaturesWrapper
. And I get unexpected errors. I tried two different approaches:Created on 2019-02-11 by the reprex package (v0.2.0).
Bug report
update.packages(oldPkgs="mlr", ask=FALSE)
or if you use a GitHub install of mlr:devtools::install_github(c("BBmisc", "ParamHelpers", "mlr"))
sessionInfo()