Configuring a NARX network's inputs and outputs

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 commentaires

Kevin Chng
Kevin Chng le 17 Oct 2018
Have you tried neural network time series apps?
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.

Connectez-vous pour commenter.

 Réponse acceptée

Maksym Zawrotny
Maksym Zawrotny le 18 Oct 2018

1 vote

I found a solution. It has tobe configured in closedloop mode. I don't know why, but it solved this problem.

Plus de réponses (0)

Catégories

En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange

Produits

Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by