How does predict with ensemble regression works?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Tania
le 13 Août 2014
Commenté : Machine Learning
le 10 Fév 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!!
0 commentaires
Réponse acceptée
Shashank Prasanna
le 13 Août 2014
Modifié(e) : Shashank Prasanna
le 13 Août 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 commentaires
Machine Learning
le 10 Fév 2015
Short answer is yes.
However if you want a more accurate y you have to look into boosting.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Classification Ensembles dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!