# NOT RUN {
mod1 <- C5.0(Species ~ ., data = iris)
plot(mod1)
plot(mod1, subtree = 3)
mod2 <- C5.0(Species ~ ., data = iris, trials = 10)
plot(mod2) ## should be the same as above
## plot first weighted tree
plot(mod2, trial = 1)
# }
Run the code above in your browser using DataCamp Workspace