rtROC | R Documentation |
Calculate the points of an ROC curve and the AUC
rtROC(
true.labels,
predicted.probabilities,
thresholds = NULL,
plot = FALSE,
theme = rtTheme,
verbose = TRUE
)
true.labels |
Factor with true labels |
predicted.probabilities |
Numeric vector of predicted probabilities / estimated score |
thresholds |
Numeric vector of thresholds to consider |
plot |
Logical: If TRUE, print plot |
theme |
rtemis theme to use |
verbose |
Logical: If TRUE, print messages to console |
true.labels
should be a factor (will be coerced to one) where the first level is the
"positive" case. predicted.probabilities
should be a vector of floats 0, 1 where [0, .5)
corresponds to the first level and [.5, 1]
corresponds to the second level.
predicted.probabilities
E.D. Gennatas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.