Configuring a NARX network's inputs and outputs

1 view (last 30 days)
Hello!
I have created basic NARX NN by:
net1 = narxnet(0, 1, 5, 'open', 'trainbr');
I checked it with view(net1) and I got 0 inputs and 0 outputs network. I tried to configurate network by:
net1 = configure(net1, learnWysterowanie, learnMocMlyna);
where: learnWysterowanie is 217x1 column vector with input data and learnMocMlyna is 217x1 column vector containing target data.
Method doesnt work - I get this error:
The numbers of input signals and networks inputs do not match.
Do anyone has an idea what I am doing bad so I cannot configurate my ANN?
Thank you!
  2 Comments
Kevin Chng
Kevin Chng on 17 Oct 2018
Have you tried neural network time series apps?
Maksym Zawrotny
Maksym Zawrotny on 17 Oct 2018
Yes I tried app, but I dont like it. I need a network without delay of inputs, but with delays on feedback. App doesn't permit me to do that, so I am doing it by coding.

Sign in to comment.

Accepted Answer

Maksym Zawrotny
Maksym Zawrotny on 18 Oct 2018
I found a solution. It has tobe configured in closedloop mode. I don't know why, but it solved this problem.

More Answers (0)

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!