WHICH IS THE NARNET ACTIVATION FUNCTION IN THE HIDDEN LAYERS?

1 view (last 30 days)
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.

Answers (1)

Asvin Kumar
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
The answer at this location might be useful too.

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!