Chapter 09 CART-3
Chapter 09 CART-3
Chapter 09 CART-3
Regression Trees
The first split is on Income, then the next split is on Lot Size, then the third split
is on Income again
Tree After All Splits
(Fully grown tree)
Answer: “Owner”
Overfitting
• Parameter Tuning
• Perform grid search over combinations of
parameter values
• Find the combination that leads to lowest error
(or highest accuracy)
• Use cross validation to find the optimal
parameter values
Use “Optimize Parameters”
Using
“Optimize
Parameters,”
cont.
Another way to limit tree complexity -
pruning