The question is about the direction vector in rpart.
There are (at least) two preferred ways to lay out a tree, wrt the question
of
which obs are sent left and which right.
1. Send the smaller y values to the left. In the final tree, there will
be
a graphical ordering with smaller
Direction corresponds to goodness: for the split represented by
goodness[i], direction[i]=-1 means that values less than the split at
goodness[i] will go left, greater than will go right. If
direction[i] = 1 then they will be sent to opposite sides.
The long-and-short of it is that, for most tre
housing data frame within the user defined splitting
> function?
>
> Any input would be highly appreciated!
>
> Thank you
> Tobias Guennel
>
>
> -Original Message-
> From: Tobias Guennel [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 19, 2007 3:40 PM
&
3 matches
Mail list logo