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