rocr_ens | R Documentation |
A function to calculate various ROC curve performance metrics given model predictions and the oberved samples
rocr_ens(predictions, samples)
predictions |
Random Forest predictions (or any probability) |
samples |
The original observations (must be a factor) |
A list containing all the various ROC curve performance metrics
predictions <- rbeta(100, 4, 4)
samples <- rbinom(100, 1, 0.5)
rocr <- rocr_ens(predictions, samples)
rocr$auc
str(rocr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.