# NOT RUN {
model <- cc(toyml, "RANDOM")
pred <- predict(model, toyml)
# }
# NOT RUN {
# Use a specific chain with C5.0 classifier
mychain <- sample(rownames(toyml$labels))
model <- cc(toyml, 'C5.0', mychain)
# Set a specific parameter
model <- cc(toyml, 'KNN', k=5)
#Run with multiple-cores
model <- cc(toyml, 'RF', cores = 2, seed = 123)
# }
Run the code above in your browser using DataLab