# NOT RUN {
params <- list(lambda = penalty(), alpha = mixture(), `rand forest` = mtry())
pset <- parameters(params)
pset
update(pset, `rand forest` = finalize(mtry(), mtcars), alpha = mixture(c(.1, .2)))
# }
Run the code above in your browser using DataLab