Description Usage Arguments Value
training
uses a caret::train
or stats::glm
algorithm to
estimate an individual-level model and return a list where each element is
either a list of with element of class "train" (if caret::train
was
used) or a list with each element of class "glm" if (if stat::glm
was
used).
1 2 3 4 |
trainData |
|
features |
|
Formula |
|
sampling |
optional logical vector length one, default is |
sampling_size |
optional numeric vector length one specifying how many
observations from each group that |
package |
optional character vector length one, default is
|
tune_length |
optional numeric vector length one specifying how many rows for caret::train to create in design matrix of hyper-parameter sets. |
parallel |
optional logical vector length one, default is |
cv_type |
optional character vector length one, default is |
Returns a list
length k
where each element of the list
is an estimated model (estimated agent decision function).
@export
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.