How does predict with ensemble regression works?
3 次查看(过去 30 天)
显示 更早的评论
This might be a silly question...iam using bagging with regression trees. I built for instance 10 different trees, then I average them. when I then use predict to predict my y value, how does it work? does it somehow average the fitted y values?!
thanks for your help!!
0 个评论
采纳的回答
Shashank Prasanna
2014-8-13
编辑:Shashank Prasanna
2014-8-13
For classification the output of the ensemble is the class that gets majority vote from all the learners. For regression the results are averaged.
2 个评论
Machine Learning
2015-2-10
Short answer is yes.
However if you want a more accurate y you have to look into boosting.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Classification Ensembles 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!