Matlab TreeBagger OOBPrediction flag not recognized

1 回表示 (過去 30 日間)
Sepp
Sepp 2016 年 7 月 16 日
回答済み: lior 2016 年 7 月 19 日
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?

回答 (1 件)

lior
lior 2016 年 7 月 19 日
With the version I am using, you need to use 'OOBPred' instead of 'OOBPrediction'.

カテゴリ

Help Center および File ExchangeClassification Ensembles についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by