Info

この質問は閉じられています。 編集または回答するには再度開いてください。

how to produce different ensemble object by bag algorithm

1 回表示 (過去 30 日間)
Amend
Amend 2015 年 5 月 20 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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?

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by