Description Usage Arguments Details Value
Function for computing the area under the ROC curve (AUROC)
1 |
p |
vector of scores. Can be sparse (from package Matrix), but will be coerced to dense. |
y |
vector of labels (0 or 1). Can be sparse (from package Matrix), but will be coerced to dense. |
plot_roc |
if |
warn_inv |
raises a warning if high values of |
It is assumed that a higher score increases the probability of an object having label 1.
The value of the AUROC.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.