plot.caretStack | R Documentation |
This is a function to plot a caretStack.
## S3 method for class 'caretStack'
plot(x, ...)
x |
An object of class caretStack |
... |
passed to plot |
## Not run:
library("rpart")
models <- caretList(
x=iris[1:100,1:2],
y=iris[1:100,3],
trControl=trainControl(method="cv"),
methodList=c("rpart", "glm")
)
meta_model <- caretStack(models, method="rpart", tuneLength=2)
plot(meta_model)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.