what does it mean: "MaxNumSplits is not a valid parameter name"
조회 수: 2 (최근 30일)
이전 댓글 표시
I use follow code in command line
templ = templateTree('MaxNumSplits',4);
ens = fitensemble(X,Y,'LSBoost',50,templ);
And got follow message:
Error using classreg.learning.FitTemplate/fillIfNeeded (line 533)
MaxNumSplits is not a valid parameter name.
Error in classreg.learning.modelparams.EnsembleParams/fillDefaultParams (line 622)
learner = fillIfNeeded(learner,this.Type);
I don't know why MaxNumSplits is not a valid parameter name?
who can explain it? thank you ....
댓글 수: 0
채택된 답변
MHN
2016년 1월 21일
I believe the Matlab version that you are using does not support MaxNumSplits. To check this, type
help templateTree
and see whether you can find the parameter name "MaxNumSplits" or not.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Classification Ensembles에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!