Description Usage Arguments References See Also Examples
The area under the receiver operating characteristic (ROC) curve for a 2 x 2 confusion matrix is given by
AUC = ((TP / (TP + FN) - (TN / (TN + FP)) + 1) / 2
where TP denotes true positives, TN denotes true negatives, FP denotes false positives, and FN denotes false negatives.
1 |
tp |
True positives |
tn |
True negatives |
fp |
False positives |
fn |
False negatives |
Powers2007zostmod
Other classification scores: bcr
,
brier
, dor
, dp
,
err
, et
, f1
,
fai
, fm
, gain
,
gl
, gm
, ignr
,
jacc
, kappa
,
lr
, mcc
, op
,
rand
, rt
, rus
,
sm
, ss
, tss
1 | auc(tp = 45, fp = 15, fn = 25, tn = 15)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.