[R] rpart
Wensui Liu
liuwensui at gmail.com
Tue Feb 6 00:42:28 CET 2007
man, oh, man
Surely you can use bagging, or probably boosting. But that doesn't
answer your question, does it?
Believe me, even you use bagging, the result will vary, depending on set.seed().
On 2/5/07, Aimin Yan <aiminy at iastate.edu> wrote:
> Yes, I use the same setting, and I calculate MSE and CC as
> prediction accuracy measure.
> Someone told me I should not trust one tree and should do bagging.
> Is this correct?
> Aimin
>
> At 03:11 PM 2/5/2007, Wensui Liu wrote:
> >are you sure you are using the same setting, tree size, and so on?
> >
> >On 2/5/07, Aimin Yan <aiminy at iastate.edu> wrote:
> >>Hello,
> >>I have a question for rpart,
> >>I try to use it to do prediction for a continuous variable.
> >>But I get the different prediction accuracy for same training set,
> >>anyone know why?
> >>
> >>Aimin
> >>
> >>______________________________________________
> >>R-help at stat.math.ethz.ch 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.
> >
> >
> >--
> >WenSui Liu
> >A lousy statistician who happens to know a little programming
> >(http://spaces.msn.com/statcompute/blog)
>
>
>
--
WenSui Liu
A lousy statistician who happens to know a little programming
(http://spaces.msn.com/statcompute/blog)
More information about the R-help
mailing list