NN toolbox, Timedelay.net : removedelay?

Dear all,
I have an issue with the time-series prediction neural networks: I have a set of inputs, and I want to predict a related output at time (t+2). (I also have the data of my y up to time t, that's why I was using Narxnet, but apparently, probably for some errors in my network, it looks like it is taking into account only y(t) almost ignoring all the other inputs x(t) which I know for sure they would help improving the performance..so now I turned to timedelay so that it can't use the previous y).
I don't understand how the early prediction part works (with the command removedelay): do i get the same result fixing inputDelays = 1:d; ? I did some trials using y as my input, and apparently, I can guess that if: inputDelays = 0:d; then it is predicting y(t), having x(t)..x(t-d), in fact I got a pefect prediction with R=1, because i tried it y(t)as my input too(so it was actually doing y(t)=y(t)..y(t-d))
if: inputDelays = 1:d; so then I have my prediction one step ahead. I can notice it as the chart looks a bit shifted of one time step and R goes down to 0.8. So what's the point of the early prediction? Isn't it doing exactly the same thing of this?
To sum up, if I want my prediction 2 time steps ahead, can I simply use inputDelays = 2:d; ?
Thanks everybody for the support.

1 件のコメント

WT
WT 2014 年 12 月 15 日
Hi Edo,
May i know whether you have managed to obtain the predicted output for (t+2) cause i am still unable to predict the future outputs..I would appreciate if you could help me on this.
Thank you

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

 採用された回答

Greg Heath
Greg Heath 2014 年 12 月 15 日

1 投票

If dmin > = 0 then
net = timedelaynet( dmin:dmax)
assumes
y(t) = f(x(t-dmin),...,x(t-dmax))
or equivalently
y(t+dmin) = f(x(t),...,x(t-(dmax-dmin))
if dmin >= n >= 0
netr = removedelay(net,n);
causes
y(t) = f(x(t-(dmin-n)),...,x(t-(dmax-n)))
NOTE: Although
dmin >= 0 (NONNEGATIVE) for input delays
for feedback delays,
dmin > 0 % POSITIVE!
Hope this helps.
Thank you for formally accepting my answer
Greg

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeAI for Signals についてさらに検索

質問済み:

Edo
2012 年 10 月 12 日

コメント済み:

WT
2014 年 12 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by