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

2 ビュー (過去 30 日間)
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

採用された回答

Greg Heath
Greg Heath 2016 年 2 月 27 日
Because the first few data points are used as delays.
Hope this helps
Thank you for formally accepting my answer
Greg
  2 件のコメント
Ghazi Binarandi
Ghazi Binarandi 2016 年 2 月 28 日
編集済み: Ghazi Binarandi 2016 年 2 月 28 日
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 2016 年 3 月 4 日
Sorry, I didn't read your whole question before I jumped to conclusions and posted the answer.
Greg the Embarrassed

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeArray and Matrix Mathematics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by