[R] Decision Tree and Random Forrest

Bert Gunter bgunter.4567 at gmail.com
Wed Apr 13 23:08:26 CEST 2016


Nope.

Random forests are not decision trees -- they are ensembles (forests)
of trees. You need to go back and read up on them so you understand
how they work. The Hastie/Tibshirani/Friedman "The Elements of
Statistical Learning" has a nice explanation, but I'm sure there are
lots of good web resources, too.

Cheers,
Bert


Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )


On Wed, Apr 13, 2016 at 1:40 PM, Michael Artz <michaeleartz at gmail.com> wrote:
> Hi I'm trying to get the top decision rules from a decision tree.
> Eventually I will like to do this with R and Random Forrest.  There has to
> be a way to output the decsion rules of each leaf node in an easily
> readable way. I am looking at the randomforrest and rpart packages and I
> dont see anything yet.
> Mike
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list