search for: rfrule

Displaying 2 results from an estimated 2 matches for "rfrule".

Did you mean: rrule
2017 Oct 31
0
Final models from caret's train function
Using caret on the Titanic data from Kaggle, I tried various models, including rfRules which produces a model, partly described as such: > caret.rfRules.cv$finalModel $model len freq err [1,] "2" "0.0368" "0" [2,] "2" "0.032" "0.05" [3,] "2&qu...
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