Description Usage Arguments Details References Examples
Calculates Area Under the ROC Curve
1 |
preds |
A vector of prediction values |
actuals |
A vector of actuals values (numeric or ordered factor) |
returnDT |
If TRUE, a data.table of (FalsePositiveRate, TruePositiveRate) pairs is returned, otherwise AUC ROC score is returned |
If returnDT=FALSE
, returns Area Under the ROC Curve.If returnDT=TRUE
, returns a data.table object with
False Positive Rate and True Positive Rate for plotting the ROC curve.
https://en.wikipedia.org/wiki/Receiver_operating_characteristic#Area_under_the_curve
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.