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