can you help me to solve this ?

9 vues (au cours des 30 derniers jours)
Yudawan Hidayat
Yudawan Hidayat le 17 Juin 2020
Commenté : Walter Roberson le 20 Juil 2020
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 ?

Réponses (1)

Walter Roberson
Walter Roberson le 17 Juin 2020
This is expected. Those kinds of neural networks initialize the weights randomly by default.
You have three choices:
  1. Leave it the way it is now that you know that it is intended design;
  2. Use rng() to initialize the same random number seed before each run;
  3. Or initialize the weights yourself
  7 commentaires
Yudawan Hidayat
Yudawan Hidayat le 19 Juin 2020
but i have a new problem
I am using ANN tool box (nnstart) pattern recognition tool(nprtool). I trained ANN with input data (24×40 matrix) and target data (2×40 matrix).The algorithm itself dividing it into training,validation,test data. I followed the steps in tool box (nnstart) and finally the network was trained. Then it produced confusion plot and other.
My query is how to test the data from the real world after training the network with the above input and target data?
Walter Roberson
Walter Roberson le 20 Juil 2020
(Reminder to myself)

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