MATLAB Answers

NARx Neural Network inputs

5 views (last 30 days)
Joseph
Joseph on 1 Feb 2012
Answered: Greg Heath on 23 Mar 2016
I have a Narx network with 6 external inputs. These have a 1:2 delay on them. I also have a feedback loop for multi-step ahead prediction with a 1:24 delay on them. Does this mean I have 12 external inputs (x1(t),x1(t-1)...x6(t-1)) and 24 'feedback' neurons (y(t-1),y(t-2)...y(t-24)) totaling 36 input neurons?
delay=24;
inputDelays = 1:2;
feedbackDelays = 1:delay;
net = narxnet(inputDelays,feedbackDelays,hiddenLayerSize);
Thanks

  0 Comments

Sign in to comment.

Accepted Answer

Greg Heath
Greg Heath on 23 Mar 2016
Yes.
However, input nodes are not neurons.
Hidden and output nodes are neurons often associated with a nonlinear transfer function like tansig (i.e., tanh) or logsig.
Hope this helps.
Greg

  0 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!