View source: R/EvaluationSummary.R
computeAuc | R Documentation |
Compute the area under the ROC curve
computeAuc(prediction, confidenceInterval = FALSE)
prediction |
A prediction object as generated using the
|
confidenceInterval |
Should 95 percebt confidence intervals be computed? |
Computes the area under the ROC curve for the predicted probabilities, given the true observed outcomes.
A data.frame containing the AUC and optionally the 95% confidence interval
prediction <- data.frame(
value = c(0.1, 0.2, 0.3, 0.4, 0.5),
outcomeCount = c(0, 1, 0, 1, 1))
computeAuc(prediction)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.