View source: R/utils_analysis.R
get_roc | R Documentation |
A wrapper around twoClassSummary
and
multiClassSummary
.
get_roc(data, classes)
data |
a data frame with .outcome and .fitted columns. |
classes |
a vector with the class order. |
For multi-class predictions, stats referring to class detection (such as sensitivity or specificity) are averaged over all categories.
a tibble with the statistic values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.