Formula for two layer FFNN

조회 수: 2 (최근 30일)
Matthew Clark
Matthew Clark 2019년 3월 22일
답변: Ayoub Azzouzi 2019년 6월 17일
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