classification learner app accuracy changed with every run command why?

3 vues (au cours des 30 derniers jours)
geetu yadav
geetu yadav le 24 Mai 2016
Commenté : Walter Roberson le 25 Mai 2016
same feature dataset its accuracy changed for every classifier evrytime why? how can i get correct result?

Réponses (1)

Walter Roberson
Walter Roberson le 24 Mai 2016
I would suspect that some of the work involves random numbers. If you use rng() to set the same seed each time before classification then you would probably get the same result each time.
  2 commentaires
geetu yadav
geetu yadav le 25 Mai 2016
how to do that pls explain while using learner app?
Walter Roberson
Walter Roberson le 25 Mai 2016
Call
rng(12345)
then invoke the learner app and train once. Then exit the learner app and repeat the sequence, rng(12345) and go back into the learner app and train once again. I suspect you will get the same results.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by