Description Usage Arguments Details Value Author(s) See Also Examples
Takes in actual binary response and predicted probabilities, and returns auc value
1 | auc(y, yhat)
|
y |
actual binary response |
yhat |
predicted probabilities corresponding to the actual binary response |
Area under the receiver operating characteristic (ROC) curve is the most sought after criteria for judging how good model predictions are.
auc
function calculates the true positive rates (TPR) and false positive
rates (FPR) for each cutoff from 0.01 to 1 and calculates the area using trapezoidal
approximation. A ROC curve is also generated.
area under the ROC curve
Akash Jain
accuracy
, ks
, iv
, gini
, splitdata
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.