Displaying 1 result from an estimated 1 matches for "tp3822530p4423956".
2011 Sep 18
1
randomForest2Rules
Hi,
I'm trying to extract the rules from every tree in the random forest model
that I've created. I've used randomForest2Rules function from "rattle"
package however I get an error "Error in if (var.class == "character" |
var.class == "factor") { :
argument is of length zero"
Sample code:
library(rattle)
library(randomForest)
iris.10tree