- 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
can you help me to solve this ?
3 views (last 30 days)
Show older comments
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 ?
0 Comments
Answers (1)
Walter Roberson
on 17 Jun 2020
This is expected. Those kinds of neural networks initialize the weights randomly by default.
You have three choices:
7 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!