WHICH IS THE NARNET ACTIVATION FUNCTION IN THE HIDDEN LAYERS?
2 views (last 30 days)
Show older comments
Hello, I would like to know which is the activation function used by Narnet?
I think the one used is the tansigmoid (y(i)=2/(1+exp(-2*y(i-1)))-1 ) and no the sigmoid (y(i)=(1/(1+exp(-0.9*y(i-1))))) as I thought but I would like to confirm that.
Thank you for your time.
0 Comments
Answers (1)
Asvin Kumar
on 19 May 2020
Edited: Asvin Kumar
on 19 May 2020
The default activation in a Hidden layer created by narnet is tansig. Quick way to check this is by running:
net = narnet;
net.layers{1}.transferFcn
This can be changed to other available activations which you can check by typing:
help nntransfer
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!