The Treebagger give different results in 2012a and 2013a
1 次查看(过去 30 天)
显示 更早的评论
I used
B = TreeBagger(NTrees(j),train_feats',train_labels');
and
Y = predict(B,test_feats');
to classification, in train_feats each column is a sample,the train_labels total of 30 categories,label from 0 to 29.
when I run the code in matlab 2012a the accuracy almost 90%,but when i update to 2013a the accuracy is less than 1%. The data and the code are intact, why the result is so different?
Does anyone have an explanation?
0 个评论
采纳的回答
Tom Lane
2013-4-23
This might be the explanation, and it includes a suggestion of how to avoid the problem:
http://www.mathworks.com/support/bugreports/927692
更多回答(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!