Azzera filtri
Azzera filtri

Why does my time series output of my NARXNET have less elements than my input?

2 visualizzazioni (ultimi 30 giorni)
Hi all,
I trained a neural network using narxnet and generated the Simulink block of it using gensim. When I delivered a time series into the input port of the neural network block (and fed back the output to the feedback signal port), I obtained a time series as the output with a length that was less than my input size. My original input time series size is 60001x1, but my output is only 61x1. Why does this happen?
Thank you,
Ghazi

Risposta accettata

Greg Heath
Greg Heath il 27 Feb 2016
Because the first few data points are used as delays.
Hope this helps
Thank you for formally accepting my answer
Greg
  2 Commenti
Ghazi Binarandi
Ghazi Binarandi il 28 Feb 2016
Modificato: Ghazi Binarandi il 28 Feb 2016
I think that's not the case. I just figured out that the sampling time was the reason. I didn't set the sampling time in 'gensim.' So the sampling time is set to be 1, the default value. Then, I copied the Simulink neural network block to the other Simulink file that has sampling time of 1/1000. I think that's why the element size is reduced from 60001 to 61. Thanks for the answer anyway!
Greg Heath
Greg Heath il 4 Mar 2016
Sorry, I didn't read your whole question before I jumped to conclusions and posted the answer.
Greg the Embarrassed

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Sequence and Numeric Feature Data Workflows in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by