Displaying 1 result from an estimated 1 matches for "algec".
Did you mean:
alec
2009 Dec 15
1
user-written splits in rpart
Hi,
I am trying to write my own split function for rpart. The aim is to do, instead of anova, a linear regression to determine the split (minimize some criterion like sum of rss left and right of the split). The regression (lm) should simply use the dependent and independent variables passed to rpart.
I am aware of the example provided in the rpart source code, but stumbled on similar problems