Displaying 1 result from an estimated 1 matches for "aucroc".
Did you mean:
acros
2011 Jun 02
1
aucRoc in caret package [SEC=UNCLASSIFIED]
Hi all,
I used the following code and data to get auc values for two sets of predictions:
library(caret)
> table(predicted1, trainy)
trainy
hard soft
1 27 0
2 11 99
> aucRoc(roc(predicted1, trainy))
[1] 0.5
> table(predicted2, trainy)
trainy
hard soft
1 27 2
2 11 97
> aucRoc(roc(predicted2, trainy))
[1] 0.8451621
predicted1:
1 1 2 2 2 1 2 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2 2 2 1 2 2 2 2 2 1 2 2 2 2 1 1 2 2 2 2 2 1 2 2 2 2 2 1 2 2...