Compute the area under the curve of a given performance measure.
This function computes the area under the sensitivity curve (AUSEC), the area under the specificity curve (AUSPC), the area under the accuracy curve (AUACC), or the area under the receiver operating characteristic curve (AUROC).
auc(x, min = 0, max = 1)
x |
an object produced by one of the functions
|
min |
a numeric value between 0 and 1, denoting the cutoff that defines the start of the area under the curve |
max |
a numeric value between 0 and 1, denoting the cutoff that defines the end of the area under the curve |
A numeric value between zero and one denoting the area under the curve
Authors: Michel Ballings and Dirk Van den Poel, Maintainer: Michel.Ballings@UGent.be
Ballings, M., Van den Poel, D., Threshold Independent Performance Measures for Probabilistic Classifcation Algorithms, Forthcoming.
sensitivity
, specificity
,
accuracy
, roc
,
auc
, plot
data(churn) auc(sensitivity(churn$predictions,churn$labels)) auc(specificity(churn$predictions,churn$labels)) auc(accuracy(churn$predictions,churn$labels)) auc(roc(churn$predictions,churn$labels))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.