Re: [R] How to use a validation set rather than the default cross-validation in rpart() ?

From: Uwe Ligges <>
Date: Wed 03 May 2006 - 16:53:09 EST

Quin Wills wrote:

> I want use a validation set for my classification tree rather than the
> default 10-fold validation in rpart() but can't see which arguments to use
> to get this right. Advice appreciated thanks. I assume that this is
> possible!

You cannot for the internal algorithm that optimizes the splits of the tree. Of course you can do so for estimating the misclassification rate (or whatever), but this has nothing to do with rpart() itself....

Uwe Ligges mailing list PLEASE do read the posting guide! Received on Wed May 03 16:58:14 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 03 May 2006 - 20:09:55 EST.

Mailing list information is available at Please read the posting guide before posting to the list.