# NOT RUN {
model <- ctrl(toyml, "RANDOM")
pred <- predict(model, toyml)
# Change default values and use 4 CORES
model <- ctrl(toyml, 'C5.0', m = 10, validation.size = 0.4,
validation.threshold = 0.5, cores = 4)
# Use seed
model <- ctrl(toyml, 'RF', cores = 4, seed = 123)
# Set a parameters for all subproblems
model <- ctrl(dataset$train, 'KNN', k=5)
# }
Run the code above in your browser using DataLab