[R] how to measure accuracy of regression tree?
Frank E Harrell Jr
f.harrell at Vanderbilt.Edu
Fri Mar 26 15:05:09 CET 2010
vibha patel wrote:
> Hello,
>
> for constructing regression tree, I am using rpart function.
>
> now after dividing dataset in to training and testing,
> I'm using predict for forecasting.
Such data splitting yields unreliable validations unless N > 20,000.
Frank
>
> how to measure accuracy of the predicted data?
>
> Thanks and Regards,
> Vibha.
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
>
--
Frank E Harrell Jr Professor and Chairman School of Medicine
Department of Biostatistics Vanderbilt University
More information about the R-help
mailing list