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!