Description Usage Arguments Examples
Calculates the area under the curve for a binary classifcation model
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | auc(...)
## Default S3 method:
auc(actual, predicted, ...)
## S3 method for class 'glm'
auc(modelObject, ...)
## S3 method for class 'randomForest'
auc(modelObject, ...)
## S3 method for class 'glmerMod'
auc(modelObject, ...)
## S3 method for class 'gbm'
auc(modelObject, ...)
## S3 method for class 'rpart'
auc(modelObject, ...)
|
... |
additional parameters to be passed the the s3 methods |
actual |
A vector of the labels. Can be |
predicted |
A vector of predicted values |
modelObject |
the model object. Currently supported |
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.