Weidong Gu anopheles123 at gmail.com
Thu Jul 26 21:46:02 CEST 2012


You can try predict.rpart in rpart package for prediction on a test data.


On Thu, Jul 26, 2012 at 12:30 PM, Orla Carey <careyo at tcd.ie> wrote:
> Hello,
> I am running classification trees fro the purpose of predicting dividends.
> I have training and test data sets, but am running to issues when
> evaluating the prediction accuracy of the tree as it isn't a simple
> 'predict' formulation as the determinant variable is not a simple set of
> classifying inputs. I think there is some RMSE method to use but can't
> uncover how to do this. Any help would be greatly appreciated.
> Orla
>         [[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.

More information about the R-help mailing list