Description Usage Arguments Value Examples
View source: R/ModelGeneration.R
A helper function used by GetModelComparison and ModelComparison to create the ModelComparison object. It gives the object it's class and assigns it it's members
1 2 | CreateModelComparison(model.list, multi.class, force.prepped,
diff.names = NULL)
|
model.list |
a list of models that are already trained. The name of the model.list should be accurate to the names of the models, unless other names are given in diff.names |
multi.class |
a boolean value of whether the classification output is more than two outputs |
force.prepped |
a boolean value describing whether the dataset was forced prepared into one hot encoding for training. Only applicable with categorical data |
diff.names |
a vector or list containing the names of the model.list models, in that respective order. This is optional if the names are already attatched to the model.list and will default to NULL. |
the fully created ModelComparison object
1 2 3 | # This function is used by GetModelComparison and ModelComparison to create the
# ModelComparison object. The follow code is what is used by ModelComparison:
# CreateModelComparison(model.list, multi.class, F, names(model.list))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.