roc_plot {classifierplots} | R Documentation |
Produces a smoothed ROC curve as a ggplot2 plot object. A confidence interval is produced using bootstrapping, although it is turned off by default if you have a large dataset.
roc_plot(test.y, pred.prob, resamps = 2000, force_bootstrap = NULL)
test.y |
List of know labels on the test set |
pred.prob |
List of probability predictions on the test set |
resamps |
How many bootstrap samples to use |
force_bootstrap |
True/False to force or force off bootstrapping. |