[R] Decision Tree and Random Forrest
michaeleartz at gmail.com
Wed Apr 13 23:15:19 CEST 2016
Also that being said, just because random forest are not the same thing as
decision trees does not mean that you can't get decision rules from random
On Wed, Apr 13, 2016 at 4:11 PM, Michael Artz <michaeleartz at gmail.com>
> Ok is there a way to do it with decision tree? I just need to make the
> decision rules. Perhaps I can pick one of the trees used with Random
> Forrest. I am somewhat familiar already with Random Forrest with
> respective to bagging and feature sampling and getting the mode from the
> leaf nodes and it being an ensemble technique of many trees. I am just
> working from the perspective that I need decision rules, and I am working
> backward form that, and I need to do it in R.
> On Wed, Apr 13, 2016 at 4:08 PM, Bert Gunter <bgunter.4567 at gmail.com>
>> 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.
>> 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>
>> > 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
>> > 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
>> > and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
More information about the R-help