Validation Accuracy is changing when the same classifier is trained on the same data
2 ビュー (過去 30 日間)
古いコメントを表示
Hello. I am using ensemble classifiers in the Matlab Classification Learner. The problem is that I am getting different accuracies when training the same classifier (Bagged Trees) on the same data.
0 件のコメント
採用された回答
Walter Roberson
2017 年 1 月 19 日
Most of the classifiers include random initialization. To repeat the same accuracy with the same classifier on the same data, set the random number seed each time, using rng()
2 件のコメント
Walter Roberson
2017 年 1 月 19 日
In such a case you have to assume that there is a lot of over-fitting. Reduce the size of your training set and increase the size of your test set.
その他の回答 (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!