[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:
> 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.
> how to measure accuracy of the predicted data?
> Thanks and Regards,
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> 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