Prediction with Narxnet without future inputs

조회 수: 4 (최근 30일)
cr
cr 2016년 1월 31일
댓글: Greg Heath 2016년 3월 14일
I'm a bit confused if prediction with Narxnet requires knowledge of future input. Documentation defines Narxnet as dependent only on past inputs and past outputs, but I cant seem to find a way of using narxnet without future inputs and unable to get any meaningful predictions with zero/nan input. How do I forecast a timeseries which is dependent on some inputs whose future values aren't available.

채택된 답변

Greg Heath
Greg Heath 2016년 2월 1일
You are correct. If you do not have future inputs you are in serious trouble. My approach is to design two additional NARNETS: One for the input and one for the output. Then you have 2 methods for n > N = length of original data.
1. Extend the closeloop output NARNET
2. Extend the closeloop input NARNET and use this in the original closeloop NARXNET.
3. Compare the answers and pray for divine guidance.
Hope this helps.
Thank you for formally accepting my fantastic answer
Greg
  댓글 수: 2
cr
cr 2016년 2월 1일
편집: cr 2016년 2월 1일
Greg, Thanks! The description says "NARX (Nonlinear autoregressive with external input) networks can learn to predict one time series given past values of the same time series, the feedback input, and another time series, called the external or exogenous time series." So is this incorrect? (or did I interpret it wrong?)
If I'm predicting with Narnet, say predicting 10 points beyond the last data value, is this the right way:
netc2 = closeloop(net);
[xc,xic,aic,tc] = preparets(netc2,{},{},targetSeries);
yc2 = netc2(NaN(10,1),xic,aic);
In many of your answers you said 0:1 is an invalid delay although Matlab allows it; so, if removedelay() results in such a delay value do I need to use more delays in the architecture?
You thanked, but I've not formally accepted your fantastic answer yet :). Doing it now.
Greg Heath
Greg Heath 2016년 3월 14일
CLARIFICATION:
0 is NOT A VALID feedback delay for CLOSELOOP configurations!
0 IS A VALID feedback delay for the OPEN LOOP configuration.
0 IS A VALID input delay for both configurations.
Hope this helps.

댓글을 달려면 로그인하십시오.

추가 답변 (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