Last chance! 50% off unlimited learning
Sale ends in
tune.control
to be used with
the tune
function, containing various control parameters.tune.control(random = FALSE, nrepeat = 1, repeat.aggregate = min,
sampling = c("cross", "fix", "bootstrap"), sampling.aggregate = mean,
cross = 10, fix = 2/3, nboot = 10, boot.size = 9/10, best.model = TRUE,
performances = TRUE)
random
parameter vectors are drawn from the parameter space.sampling = "cross"
, a
cross
-times cross validation is performed. If sampling
= "boot"
, nboot
training sets of size boot.size
(part)
are sampled from the supTRUE
, the best model is trained and
returned (the best parameter set is used for
training on the complete training set).TRUE
, the performance results for all
parameter combinations are returned."tune.control"
containing all the above
parameters (either the defaults or the user specified values).tune