MATLAB Answers

WHICH IS THE NARNET ACTIVATION FUNCTION IN THE HIDDEN LAYERS?

5 views (last 30 days)
Jorge Rodriguez
Jorge Rodriguez on 14 May 2020
Commented: Jorge Rodriguez on 27 May 2020
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

Sign in to comment.

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.