필터 지우기
필터 지우기

NN toolbox, Timedelay.net : removedelay?

조회 수: 2 (최근 30일)
Edo
Edo 2012년 10월 12일
댓글: WT 2014년 12월 15일
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일
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개)

카테고리

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