필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

how to produce different ensemble object by bag algorithm

조회 수: 2 (최근 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