Description Usage Arguments Details Value Examples
A special case of the metricCurve
function, which is widely used to
diagnose classifiers. A ROC is simply a curve formed by calculating the
metrics fallout
and recall
for classification values and
actual cases, using different thresholds for the classification values.
1 |
p |
Vector of predicted probabilities |
actual |
Vector of actual scores |
res |
Specification of the threshold resolution of the curve. Either a single number, a vector of numbers, or NULL. If a single number, it will be used as an interval to create thresholds between 0 and 1. If a vector, it will be used as the vector of thresholds. If NULL, thresholds will be based on the unique values of p. |
For implementation, see metricCurve
.
A data-frame of ROC scores.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.