Description Usage Arguments Value Note
Generate a list of ROCit objects or RMSEit for different datasets
1 2 |
fit |
a |
datatype |
a named character representing the accuracy object be built on either "train" or "test" data, user can include both |
testdata |
a list of length two containing a named slot for the matrix of predictors (pred) and the vector of classes (class) |
modelKeep |
a logical indicating whether the original model object should be stored, default is FALSE |
... |
additional arguments passed to |
a list with the following:
method - the train method used to fit the model
summaryTr - the ROCit or RMSEit for the training data
summaryTe - the ROCit RMSEit for the test data
time - the time reported for the model to run, taken from the train object if available
metricSD - the standard deviation of the metric for the best model reported by train
The values presented are for the optimal threshold as computed by the roc function for ROC objects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.