1. Use Recursive Binary Splitting to grow the Tree
  2. Apply Cost Complexity Pruning. We obtain trees as a function of by minimizing the equation in Cost Complexity Pruning.
  3. Use K-fold Cross Validation to find the best . Average the results for and pick some to minimize the MSE.

K-Fold Cross Validation

For each fold for we will have scores . Then for some and score we will average those scores take which produced the smallest scores.