can you help me to solve this ?

1 Ansicht (letzte 30 Tage)
Yudawan Hidayat
Yudawan Hidayat am 17 Jun. 2020
Kommentiert: Walter Roberson am 20 Jul. 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 ?

Antworten (1)

Walter Roberson
Walter Roberson am 17 Jun. 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 Kommentare
Yudawan Hidayat
Yudawan Hidayat am 19 Jun. 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 am 20 Jul. 2020
(Reminder to myself)

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Sequence and Numeric Feature Data Workflows finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by