WHICH IS THE NARNET ACTIVATION FUNCTION IN THE HIDDEN LAYERS?

1 次查看(过去 30 天)
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.

回答(1 个)

Asvin Kumar
Asvin Kumar 2020-5-19
编辑:Asvin Kumar 2020-5-19
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.

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by