Use the trained trees in a learner along with the supplied validation data to determine the best value for the cp parameter and then prune the trees according to this value
cp