Skip to content
Prev 77001 / 398502 Next

Re-evaluating the tree in the random forest

Hi Andy,

Thank you for your help but it was not really a
solution to my problem. Following from your iris
example, if I do "iris.rf$forest$xbestsplit[1,1] <-
1.1" instead of "iris.rf$forest$xbestsplit[1,1] <-
3.5" then the training instances in node 2 (left node
of the root node) aren't correctly split any more,
since there are training instances that have
Petal.Length > 1.1. 

So, I wondered if it was possible that after I've made
a change in a splitpoint that the tree only put
training instances with Petal.Length < 1.1 in node 2
and the others in node 3, from node 3 on the training
instances from node 2 with Petal.Length >= 1.1 are
passed down the tree until they reach the leafs and
finally the classification in the leafs are updated.

Thanks in advance,

Martin
--- "Liaw, Andy" <andy_liaw at merck.com> wrote:

            
______________________________________________________
--------------------------------------------------------------
--------------------------------------------------------------
______________________________________________________
------------------------------------------------------------------------------
------------------------------------------------------------------------------
______________________________________________________
Click here to donate to the Hurricane Katrina relief effort.