Displaying 1 result from an estimated 1 matches for "bank_test".
Did you mean:
  rank_test
  
2012 Jul 13
1
ROC curves with ROCR
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,importance=TRUE)         
    bankrf.pred<-predict(bankrf, bank_testing)
    library(ROCR)
    pred<-prediction(bankrf.pred$y, bank_testing$y)
Here I get the error...