How to get the transfer function equation for the implemented neural network
1 view (last 30 days)
Show older comments
I have implemented neural network of two layers and hidden layer size is 3. for both layers activation function is purelin. When I calculate theoretically output of neural network it is not matching with output provided by neural network of matalab. Plz let me know where i am doing wrong. Thanks
0 Comments
Accepted Answer
Greg Heath
on 9 Nov 2016
You have to obtain xsettings and tsettings from x and t.
Then apply them to x2 and t2.
Hope this helps.
Thank you for formally accepting my answer
Greg
0 Comments
More Answers (1)
Greg Heath
on 14 Sep 2016
Edited: Greg Heath
on 14 Sep 2016
I misplaced my turban and crystal ball. Therefore I cannot tell you where you have gone wrong.
OH! It just occurred to me!
1. Why don't you post your code?
2. Include any comments and error messages that result when you try
to run your code.
3. Include the results of running your code on data in the help
and doc documentation. e.g.,
help fitnet
doc fitnet
Thank you for formally accepting my answer
Greg
PS. Have you included
a. the normalization of input and target
b. The denormalization of the output
Hope this helps.
Greg
6 Comments
See Also
Categories
Find more on Deep Learning Toolbox 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!