Skip to content

Cross-validation error with tune and with rpart

2 messages · Israel Saeta Pérez, Brian Ripley

#
On 31/12/2011 12:34, Israel Saeta P?rez wrote:
You didn't get it right.  Please read the documentation, or contemplate 
why the first line is exactly one.  In any case, that table is not about 
error rates for the final tree: it is part of the model selection step 
(to cross-validate the final tree you would need to include the choice 
of pruning inside the cross-validation)

Did you look up the rpart technical report or one of the books 
explaining its output?  Google 'rpart technical report' if you need to 
find it.

[...]