Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

how to produce different ensemble object by bag algorithm

1 visualización (últimos 30 días)
Amend
Amend el 20 de Mayo de 2015
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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?

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by