train
train
modelLookup(model = NULL)
getModelInfo(model = NULL, regex = TRUE, ...)
checkInstall(pkg)
method
argument of train
. If no value is
passed, all models are returned. For getModelInfo
, regular expressions can be used.
FALSE
, a simple match is conducted against the whole name of the model.
grepl
modelLookup
produces a data frame with columnsgetModelInfo
returns a list containing one or more lists of the standard model information.checkInstall
returns not value.modelLookup
is good for getting information related to the tuning parameters for a model. getModelInfo
will return all the functions and metadata associated with a model. Both of these functions will only search within the models bundled in this package. checkInstall
will check to see if packages are installed. If they are not and the session is interactive, an option is given to install the packages using install.packages
using that functions default arguments (the missing packages are listed if you would like to install them with other options). If the session is not interactive, an error is thrown.
train
, install.packages
, grepl
modelLookup()
modelLookup("gbm")
getModelInfo("pls")
getModelInfo("^pls")
getModelInfo("pls", regex = FALSE)
## Not run:
# checkInstall(getModelInfo("pls")$library)
# ## End(Not run)
Run the code above in your browser using DataLab