Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

extractModelName

Extract the method name associated with a single train object


Description

Extracts the method name associated with a single train object. Note that for standard models (i.e. those already prespecified by caret), the "method" attribute on the train object is used directly while for custom models the "method" attribute within the model$modelInfo attribute is used instead.

Usage

extractModelName(x)

Arguments

x

a single caret train object

Value

Name associated with model


caretEnsemble

Ensembles of Caret Models

v2.0.1
MIT + file LICENSE
Authors
Zachary A. Deane-Mayer [aut, cre], Jared E. Knowles [aut]
Initial release
2019-12-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.