Re: [R] ROC curves with ROCR

2012-07-16 Thread Jessica Streicher
Wild guess : You need to have some kind of score for ROC to work (so you can work with a threshold), so a predict() that only returns classlabels probably won't work. On 13.07.2012, at 15:25, blerta wrote: > Hi, > > I don't really understand how ROCR works. Here's another example with a > ran

[R] ROC curves with ROCR

2012-07-15 Thread blerta
Hi, I don't really understand how ROCR works. Here's another example with a randomforest model: I have the training dataset(bank_training) and testing dataset(bank_testing) and I ran a randomForest as below: bankrf<-randomForest(y~., bank_training, mtry=4, ntree=2, keep.forest=TRUE,im