is this random decision tree, I dont know is there any package can run it. If you know, please let me know.
On Fri, May 14, 2010 at 10:23 AM, Shi, Tao <shida...@yahoo.com> wrote: > Hi list, > > Is there a way in "rpart" to force the variables only used once when doing > the splits? > > This is how the question came about. Often time, the tree constructed uses > the same variable (say X1) for the first and second splits, for example. > However, due to practical reason, the researcher doesn't like this. The > prefer to see the second split using other variables (say X2). Therefore > the question. I understand the performance will suffer. However if there > is a performance improvement for the tree with X1 as 1st split and X2 as 2nd > split comparing the tree with one single split using X1, I guess it's still > a reasonable thing to do, right? > > Many thanks! > > ...Tao > > ______________________________________________ > R-help@r-project.org mailing list > 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. > -- Sincerely, Changbin -- [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list 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.