RE: [R] rpart and TREE, can be the same?

From: <>
Date: Tue 20 Jul 2004 - 01:58:52 EST

They are substantially different, even if I used 'gini' for both of them and set feature parameters to 0's. Seems to me there is something more than splitting rule that governs the growth of tree. What could that be, other than sizes?
Thank you,

"Liaw, Andy" <>

07/19/2004 09:38 AM  

"''" <>

RE: [R] rpart and TREE, can be the same?


I see that now. Have you tried setting mindev=0 in tree() and cp=0 in rpart(), to see if the unpruned trees are identical? If so, you can probably try pruning the trees back using other tools in those packages.  


        [[alternative HTML version deleted]] mailing list PLEASE do read the posting guide! Received on Tue Jul 20 02:11:07 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:55:05 EST