what does it mean: "MaxNumSplits is not a valid parameter name"
5 次查看(过去 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!