Description Usage Arguments Details Value Examples
Helper function that makes ROC graph data from predictions and outcomes with confidence intervals and standard deviation.
1 | bootstrappedROC(pred, actual, res, draws = 100, parallel = FALSE)
|
pred |
Probability predictions |
actual |
Outcomes |
res |
Resolution of ROC thresholds. A float between 0 and 1. |
draws |
Number of times to randomly sample the data for bootstrapping. Larger numbers yield better results, but also increase runtime. |
Note that the function requires specification of the resolution, since it must be possible to collapse the results into an array.
A list containing ROC data and AUC with confidence intervals.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.