Matlab TreeBagger OOBPrediction flag not recognized
2 次查看(过去 30 天)
显示 更早的评论
Hello
I'm using the TreeBagger function of Matlab R2015a with the name-value pairs 'OOBPrediction', 'on' and 'OOBPredictorImportance', 'on'. Now I'm getting the following error message:
Invalid parameter name: OOBPrediction.
In the official Matlab documentation this name-value pair is listed.
What is wrong?
0 个评论
回答(1 个)
lior
2016-7-19
With the version I am using, you need to use 'OOBPred' instead of 'OOBPrediction'.
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!