can you help me to solve this ?
Mostra commenti meno recenti
can you help me, i use ann for classification of blood type.
Then i used nntool in matlab with my data, i get the result like this

but why every time I run the program again, i get different results?

can you help me ?
Risposte (1)
Walter Roberson
il 17 Giu 2020
0 voti
This is expected. Those kinds of neural networks initialize the weights randomly by default.
You have three choices:
- Leave it the way it is now that you know that it is intended design;
- Use rng() to initialize the same random number seed before each run;
- Or initialize the weights yourself
7 Commenti
Yudawan Hidayat
il 17 Giu 2020
Modificato: Yudawan Hidayat
il 17 Giu 2020
Walter Roberson
il 17 Giu 2020
For the second choice, at the top of the code add
rng(655321)
Yudawan Hidayat
il 18 Giu 2020
Walter Roberson
il 18 Giu 2020
Can you attach your input values for testing?
Yudawan Hidayat
il 19 Giu 2020
Yudawan Hidayat
il 19 Giu 2020
Walter Roberson
il 20 Lug 2020
(Reminder to myself)
Categorie
Scopri di più su Deep Learning Toolbox in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!