caretModelSpec: Generate a specification for fitting a caret model

View source: R/caretList.R

caretModelSpecR Documentation

Generate a specification for fitting a caret model

Description

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

Usage

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

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

caretEnsemble documentation built on Sept. 13, 2024, 1:11 a.m.