Validation Accuracy is changing when the same classifier is trained on the same data
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Mortada Haidar
le 19 Jan 2017
Commenté : Walter Roberson
le 19 Jan 2017
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 commentaires
Réponse acceptée
Walter Roberson
le 19 Jan 2017
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 commentaires
Walter Roberson
le 19 Jan 2017
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.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Classification dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!