View source: R/Learner_syntax.R
Specify either a single model or a grid of multple models by invoking the optional argument param_grid
.
1 2 3 4 |
estimator |
A character string name of package and estimator (algorithm) name, separated by "__". |
x |
A vector containing the subset of the names of the predictor variables to use in building this
particular learner or grid. This argument can be used to over-ride the values of |
search_criteria |
Search criteria |
param_grid |
Named list of model hyper parameters (optional). Each named item defines either a fixed model parameter value or a vector of possible values. In the latter case this function call would define a grid (ensemble) of models. Each model in the ensemble corresponds by a particular fixed parameter value. |
... |
Additional modeling parameters to be passed on directly to the modeling function. |
model1 |
An object returned by a call to |
model2 |
An object returned by a call to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.