i have a narnet model and i wanna predict future value. i trained and tested my data and take really satisfied result but i wanna forecast future value ,i have some problems.Here is my forecast code:
% Forecast Steps.
N = 20;
TargetSeries;
for i = 1:N
[xc,xic,aic,tc] = preparets(net,{},{},TargetSeries);
yc = net(xc,xic,aic);
TargetSeries(1,end+1) = yc(1,end);
end
Is this a better way to forecast future ? Because i have an issue. Thank You.

 채택된 답변

Greg Heath
Greg Heath 2016년 3월 4일

0 개 추천

Search
NARNET NETC TUTORIAL
Hope this helps.
Thank you for formally accepting my answer
Greg

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

질문:

2016년 3월 2일

답변:

2016년 3월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by