Description Usage Arguments Details Value Examples
This function builds a model for the specified feature vector using cases and controls for a certain outcomeName. Returns a caret trained model.
1 | buildModel(flags, pp_total, outcomeNameS, saveFolder)
|
flags |
The R dataframe that contains all feature/model flags specified in settings.R. |
outcomeNameS |
String description of the outcome for which the model is being built |
saveFolder |
folder in which summary file output will be saved |
featureVector |
Flattened feature vector returned by combineFeatureVectors function, with labeled cases and controls. Assumed to have one column named "Class_labels" and one named "pid" |
This function builds a model for the specified outcomeName. The model is specified in the flags dataframe (currently only supports LASSO).
An transferable caret Model object
1 2 3 4 5 6 | ## Not run:
model_predictors <- buildModel(flag, fv_all, predictorsNames, outcomeName, saveFolder)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.