View source: R/EvaluateWithROCR.R
Evaluate the classifier performance using ROCR.
1 2 | EvaluateWithRocr(predictions, outcome, measure = "auc",
reverse = FALSE)
|
predictions |
Numeric vector. Model predictions. No default. |
outcome |
Numeric vector. The outcome of interest. No default. |
measure |
Character vector of length 1. The ROCR measure to estimate. Defaults to "auc". |
reverse |
Logical vector of length 1. If TRUE the functions returns the 1 - AUC rather than AUC. Defaults to FALSE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.