mlr icon indicating copy to clipboard operation
mlr copied to clipboard

lrn = makeLearner("regr.gausspr", importance = c("permutation"))

Open DrZhaoJie opened this issue 3 years ago • 1 comments

Hi, I really enjoy your package. I had a problem. When I run this: lrn = makeLearner("regr.gausspr", importance = c("permutation"))

it produced this error:Error in setHyperPars2.Learner(learner, insert(par.vals, args)) : regr.gausspr: Setting parameter importance without available description object! Did you mean one of these hyperparameters instead: kernel degree scale You can switch off this check by using configureMlr!

How may I solve this bug?

DrZhaoJie avatar May 18 '21 16:05 DrZhaoJie

Hi,

thanks for posting your issue here. Please provide a reproducible example, preferably using the reprex package.

pat-s avatar May 30 '21 08:05 pat-s