The for loop on classification gives every time different value?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
riddhi desai
il 23 Giu 2016
Modificato: Walter Roberson
il 1 Lug 2016
I have one code which gives me 3*3 matrix value of classification in image .but when I run this code 2nd time it will change the output value every time. I got something new 3*3 matrix value can any one help me in this.I already submitted my report on this previously generated results now the problem is I have submission on that this values gina differ so please anyone help me in this
2 Commenti
Image Analyst
il 30 Giu 2016
How can we do that unless we can run your code to reproduce what you observed? We can't even begin to fix it. Read this link then fix your post.
Risposta accettata
Steven Lord
il 30 Giu 2016
Most likely you're calling some function that uses the random number generator. Reset the generator to a fixed seed at the start of each classification using the rng function and see if that provides reproducibility.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Image Segmentation and Analysis in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!