summary.caretStack: Summarize a caretStack object

Description Usage Arguments Examples

View source: R/caretStack.R

Description

This is a function to summarize a caretStack.

Usage

1
2
## S3 method for class 'caretStack'
summary(object, ...)

Arguments

object

An object of class caretStack

...

ignored

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## 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="lm")
summary(meta_model)

## End(Not run)

zachmayer/caretEnsemble documentation built on Nov. 7, 2017, 5:01 a.m.