how to produce different ensemble object by bag algorithm
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
Using fitensemble(X,y,'bag',NLearn, Learners) can produce an ensemble object. Changing Learners can obtain different objects. So I use
tmp=templateTree('MaxNumSplits',10);
ens=fitensemble(X,y,'bag',100,tmp,'type','regression');
I got error message: 'MaxNumSplits is not a valid parameter name'. Where do I make mistake?
What are the common ways that can produce different ensembles in bag method?
Réponses (0)
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!