Decision Tree
- Measure the the Mean Absolute Error of both the training and testing set
from sklearn.metrics import mean_absolute_error
- too shallow: underfitting
- too deep: overfitting
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
from sklearn.metrics import mean_absolute_error