Step by step calculation neural network output
5 views (last 30 days)
Show older comments
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 !
0 Comments
Accepted Answer
Greg Heath
on 3 Aug 2013
Edited: Greg Heath
on 3 Aug 2013
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
0 Comments
More Answers (1)
AlfredLeMark
on 6 Aug 2013
3 Comments
Greg Heath
on 12 Aug 2013
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
See Also
Categories
Find more on Define Shallow Neural Network Architectures in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!