Description Usage Arguments Details Value Note Author(s)
Explore the accuracy of classifiers using ROC as the metric
Getting an ROCtest on a generalized linear model
Getting an ROCtest on a train object
Getting an ROCtest on a caretEnsemble object
Getting an ROCtest on a caretEnsemble object
1 2 3 4 5 6 7 8 9 10 11 12 13 |
mod |
A model object to generate an |
testdata |
A dataframe to generate the ROC for the mode on |
... |
optional additional parameters to pass to pROC::coords such as best.weights |
The object has the following items
thresh - the threshold for the ROC
auc - the area under the curve
confusematrix - the confusion matrix for the ROC fit
rarepercent - percent of rare class correct
falsepositive - percent of false rare class identifications
modtype - the class of the model object
modcall - the call to the model fitting function
datatype - whether the ROC was computed on the "train" or the "test" data
A ROCit
object
ROC coordinates are unsmoothed.
Jared E. Knowles
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.