search for: traindep

Displaying 1 result from an estimated 1 matches for "traindep".

Did you mean: traindev
2011 May 12
2
Can ROC be used as a metric for optimal model selection for randomForest?
...e metric for variable selection. I know that this works with the logit model by making sure that classProbs = TRUE and summaryFunction = twoClassSummary in the trainControl function. However if I do the same with randomForest, I get a warning saying that "In train.default(x = trainPred, y = trainDep, method = "rf", : The metric "ROC" was not in the result set. Accuracy will be used instead." I wonder if ROC metric can be used for randomForest? Have I missed something? Very very grateful if anyone can help! Best regards, XiaoLiu [[alternative HT...