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.
See Features in Histogram Gradient Boosting Trees for an
example showcasing the benefits of using more efficient regression models such
as HistGradientBoostingRegressor.
Preparing the data
First, we prepare dummy data with a sinusoidal relationship and some gaussian noise.
