Only exported for internal use.
setHyperPars2(learner, par.vals)
learner
(Learner) The learner.
par.vals
(list) List of named (hyper)parameter settings.