powered by
Area Under the RO Curve (AUC)
auc(pred, rvar, lev)
AUC statistic
Prediction or predictor
Response variable
The level in the response variable defined as success
See https://radiant-rstats.github.io/docs/model/evalbin.html for an example in Radiant
evalbin to calculate results
evalbin
summary.evalbin to summarize results
summary.evalbin
plot.evalbin to plot results
plot.evalbin
auc(runif(20000), dvd$buy, "yes") auc(ifelse(dvd$buy == "yes", 1, 0), dvd$buy, "yes")
Run the code above in your browser using DataLab