Clear Filters
Clear Filters

gradient tree boosting implementation

7 views (last 30 days)
Mahmoud Zeydabadinezhad
Mahmoud Zeydabadinezhad on 18 Oct 2017
Commented: denny on 4 Apr 2018
I need to implement gradient boosting with shrinkage in MATLAB. I'm allowed to use the built-in function(s) for decision tree. In gradient boosting (https://en.wikipedia.org/wiki/Gradient_boosting) there is a model update step which updates the current model as the sum of previously learned models and a weighted base learner (e.g. tree). My question is that if I use the fitrtree() function to train a base learner in each iteration, then how I should add the trained tree to update the model? The output of fitrtree() is a Regression Tree object and I don't know how to add two Regression Tree objects.
Thank you,

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!