How does predict with ensemble regression works?

조회 수: 1 (최근 30일)
Tania
Tania 2014년 8월 13일
댓글: Machine Learning 2015년 2월 10일
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!!

채택된 답변

Shashank Prasanna
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
Tania
Tania 2014년 8월 14일
So for instance, if i have 10 observations and I built 5 different trees. i take all their predicted y values of the different trees and average them,yes?
Machine Learning
Machine Learning 2015년 2월 10일
Short answer is yes.
However if you want a more accurate y you have to look into boosting.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by