[R] generate ROC curve using randomForest package

Christian Schäfer schaefer at pointone.de
Sat Sep 15 15:50:57 CEST 2007


L L wrote:

> I am new here. I would like to compare the performance of the random forest 
> model with support vector machine. Can  anybody let me know how to generate 
> a ROC curve for random forest model since there is no need to run the 
> cross-validation. Thank you very much!

The ROCR package provides performance measures like AUC, Sensitivity or 
ROC curves.
Especially the performance() function is of interest.

Chris



More information about the R-help mailing list