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 CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by