[R] How to prune a tree using a validation set

Alfredo alfredo.roccato at fastwebnet.it
Sat Feb 25 13:13:00 CET 2017


I'd like to use a different data ( validation) set for pruning my
classification tree. Unfortunately there aren't arguments to get this in
prune.rpart().

Any suggestions?

Thanks!

Alfredo


	[[alternative HTML version deleted]]



More information about the R-help mailing list