Description Usage Arguments Details Value
View source: R/constructModels.R
Construct ensemble models from a data.frame of optional models
1 2 | constructModels(modelResultsName, grade, mode, DV = "grad_ind", nmodels = 8,
conn)
|
modelResultsName |
a prefix that includes the path and filename of the file on the disk where the model search results object is stored |
grade |
a numeric representing the grade level of the object |
mode |
a character representing whether the model was run in dev or in production mode |
DV |
a character representing the name of the dependent variable in the model |
nmodels |
the number of models to include in an ensemble |
conn |
a connection string pointing to the database where the gatherData function can extract data from for model building |
By default the function builds four kinds of models. It builds ensembles based on the top N performing models, and on the N most dissimilar models. To build these it uses both the caretStack and caretEnsemble method.
Nothing. Writes the model objects to disk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.