modelinfo: Display Model Information

Description Usage Arguments Value Examples

View source: R/modelinfo.R

Description

Display information about models supplied by the MachineShop package.

Usage

1

Arguments

...

model functions, function names, or calls; observed responses for which to display information. If none are specified, information is returned on all available models by default.

Value

List of named model elements each containing the following components:

label

character descriptor for the model.

packages

character vector of source packages required to use the model. These need only be installed with the install.packages function or by equivalent means; but need not be loaded with, for example, the library function.

response_types

character vector of response variable types supported by the model.

arguments

closure with the argument names and corresponding default values of the model function.

grid

logical indicating whether automatic generation of tuning parameter grids is implemented for the model.

varimp

logical indicating whether variable importance is defined for the model.

Examples

1
2
3
4
5
6
7
8
9
## All models
modelinfo()

## Models by response types
names(modelinfo(factor(0)))
names(modelinfo(factor(0), numeric(0)))

## Model-specific information
modelinfo(GBMModel)

MachineShop documentation built on June 18, 2021, 9:06 a.m.