Example: Decision Tree Regression with AdaBoost

Decision Tree Regression with AdaBoost

A decision tree is boosted using the AdaBoost.R2 [1] algorithm on a 1D sinusoidal dataset with a small amount of Gaussian noise. 299 boosts (300 decision trees) is compared with a single decision tree regressor. As the number of boosts is increased the regressor can fit more detail.

[1]
  1. Drucker, “Improving Regressors using Boosting Techniques”, 1997.
../../_images/sphx_glr_plot_adaboost_regression_001.png
print(__doc__)

# Author: Noel Dawe <noel.dawe@gmail.com&g