Random Forest tree labels

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Random Forest tree labels

R help mailing list-2
Hi all,


I have built a Random Forest using Caret package, however, I don't understand how the splits are labeled in trees. My dataset contains the frequency of the words in the speeches of the people:

'data.frame': 499 obs. of 608 variables:
$ alright : num 1 0 0 0 0 0 0 1 2 1 ...
$ bad : num 1 0 0 0 0 0 0 0 0 0 ...
$ boy : num 1 2 1 1 0 2 2 4 2 1 ...
$ cooki : num 1 2 2 1 0 1 1 4 2 3 ...
$ curtain : num 1 0 0 0 0 2 0 2 0 0 ...
$ dish : num 2 1 0 1 0 0 1 2 2 2 ...
$ doesnt : num 1 0 0 0 0 0 0 0 1 0 ...

why are splits labeled for example with 0.5?
Thanks for any help,

Elahe

______________________________________________
[hidden email] 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.

tree.PNG (67K) Download Attachment