can you help me to solve this ?

2 次查看(过去 30 天)
Yudawan Hidayat
Yudawan Hidayat 2020-6-17
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 ?

回答(1 个)

Walter Roberson
Walter Roberson 2020-6-17
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 个评论
Yudawan Hidayat
Yudawan Hidayat 2020-6-19
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?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by