Skip to content

cross validation and CART

1 message · Liaw, Andy

#
If you are talking about the particular tree models that you built from the
data, you will need independent test set to evaluate prediction performance.
If you want to know if the _algorithm_ can produce models that are
predictive, you can use something like cross validation.  See the errorest()
function in the `ipred' package, for example.

Andy