caretModelSpec: Generate a specification for fitting a caret model

Description Usage Arguments Value Examples

View source: R/caretList.R

Description

A caret model specificaiton consists of 2 parts: a model (as a string) and the argments to the train call for fitting that model

Usage

1
caretModelSpec(method = "rf", ...)

Arguments

method

the modeling method to pass to caret::train

...

Other arguments that will eventually be passed to caret::train

Value

a list of lists

Examples

1
caretModelSpec("rf", tuneLength=5, preProcess="ica")

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