Description Usage Arguments Value Examples
View source: R/ModelGeneration.R
A helper function used by the GetModelComparison function. If the data given is categorical and not in one-hot encoding the model training will fail. This will attempt to conver the dataset into that format, or, to send an error if it fails to do so.
1 | prepData(training.set)
|
training.set |
the training data that is in the wrong format. This is the same dataframe as in GetModelComparison parameters. |
The dataframe in one-hot encoding.
1 2 | # This function is used by GetModelComparison. It's usage is as follows:
# training.set = prepData(training.set)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.