Formula for two layer FFNN

2 次查看(过去 30 天)
y=b2+LW2_1*tansig(b1+IW1_1*x1); %for one hidden layer
what will be my formula look like if I use 2hidden layers 20 15 neurons?

采纳的回答

Greg Heath
Greg Heath 2019-3-23
y1 = b1 + IW1 * x
y2 = b2 + LW2 * tanh( y1 )
y3 = b3 + LW3 * tanh( y2 )
= b3 + LW3 * tanh( b2 + LW2 * tanh( b1 + IW1 * x ) )
Hope this helps
Thank you for formally accepting my answer
Greg
  1 个评论
Matthew Clark
Matthew Clark 2019-3-23
编辑:Matthew Clark 2019-3-23
Thanks prof. Heath,
I am using FFBP NN for my electricity load prediction problem, I have 21 inputs which are normalized to fit the range -0.9 and 0.9,using 2 hidden layers with 20 and 15 nodes, using tansing transfer function in both layers and trainlm algorithm with 0.01 learning rate. My target data is two year historical load. I am getting quite satisfying results on new data. Should I something improve ? I know maybe it is quite weird question from me but I am pretty new to NN.
Regards

请先登录,再进行评论。

更多回答(1 个)

Ayoub Azzouzi
Ayoub Azzouzi 2019-6-17
Hi there,
I need your help please!
I want creat neural network model for rotor flux estimation, can you help me please ?
4084671-fig-3-source-large.gif
Regrads!

类别

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