can you help me to solve this ?

1 visualización (últimos 30 días)
Yudawan Hidayat
Yudawan Hidayat el 17 de Jun. de 2020
Comentada: Walter Roberson el 20 de Jul. de 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 ?

Respuestas (1)

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

Iniciar sesión para comentar.

Categorías

Más información sobre Sequence and Numeric Feature Data Workflows en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by