How does predict with ensemble regression works?
조회 수: 1 (최근 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!