Info
此问题已关闭。 请重新打开它进行编辑或回答。
how to produce different ensemble object by bag algorithm
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!