How does predict with ensemble regression works?

3 visualizaciones (últimos 30 días)
Tania
Tania el 13 de Ag. de 2014
Comentada: Machine Learning el 10 de Feb. de 2015
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!!

Respuesta aceptada

Shashank Prasanna
Shashank Prasanna el 13 de Ag. de 2014
Editada: Shashank Prasanna el 13 de Ag. de 2014
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 comentarios
Tania
Tania el 14 de Ag. de 2014
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 el 10 de Feb. de 2015
Short answer is yes.
However if you want a more accurate y you have to look into boosting.

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by