See getHyperPars for a function to retrieve
the currently set hyperparameters. To get a list of all
hyperparameters of a learner, see the par.set slot
of the Learner object.
cl1 <- makeLearner("classif.ksvm", sigma=1)
cl2 <- setHyperPars(cl1, sigma=10, par.vals=list(C=2))
print(cl1)
# note the now set and altered hyperparameters:print(cl2)