Learn R Programming

MachineShop (version 2.8.0)

modelinfo: Display Model Information

Description

Display information about models supplied by the MachineShop package.

Usage

modelinfo(...)

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

Run this code
# NOT RUN {
## All models
modelinfo()

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

## Model-specific information
modelinfo(GBMModel)

# }

Run the code above in your browser using DataLab