Step by step calculation neural network output

조회 수: 5 (최근 30일)
AlfredLeMark
AlfredLeMark 2013년 8월 2일
Hi all!
I don't understand what are the different steps for the calculation of a NN output. I tried to do a step-by-step calculation, but i think i missed something: I tried: output = MyTransferFunc( synaptics * input + biases ); But the result is different of output = myneuralnetwork(input);
My question is: why ??
Thanks all !

채택된 답변

Greg Heath
Greg Heath 2013년 8월 3일
편집: Greg Heath 2013년 8월 3일
It depends on what type of network and default properties you used.
The first expression does not include
1. a hidden layer
2. input and target normalization
3. output un-normalization
Search Answers for my code using the keyword
tsettings
Hope this helps.
Thank you for formally accepting my answer
Greg

추가 답변 (1개)

AlfredLeMark
AlfredLeMark 2013년 8월 6일
Thank you for your answer. After checking, there is one hidden layer in my neural network, but i considered that in my calcul. About your second and third point, how can I check if my neural netword normalizes the inputs? (same question with the outputs ^^)
  댓글 수: 3
AlfredLeMark
AlfredLeMark 2013년 8월 10일
Thank you very much! In the properties, I found something: in the Mynet.inputs, there is a nnnetInput, and in this object there is a table called "range". The Help explains: "This property defines the minimum and maximum values of the input data used to configure the input, or zero if the input is unconfigured."
In my case, the range seems like a Nx2 matrix (N = size of an input) with some values (first column = lowest values, and second column largest values) .
The File Help doesn't specifically explain how the inputs are configured. Do you know how please ?
Thank you for your help.
Greg Heath
Greg Heath 2013년 8월 12일
Look and see that MAPMINMAX is a default property. Use help and doc to see what limits that yields.
Also see what happens when MAPMINMAX is replaced by MAPST and ''.
On the other hand, the output data limits may be affected by the output transfer function. For example, if you keep the MAPMINMAX default for the output but specify logsig for the output transfer function, there is a obvious incompatibility. Not sure how that is resolved.
HTH
Greg

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by