How use the closed loop to predict future values

Hi, I'm new in using matlab, now I am modeling time series whit a NARX, this NARX was trined using a open loop, now I need to predict future values from a new input series so I used Closes loop to convert the net . this is in my code:
% Closed Loop Network % Use this network to do multi-step prediction. % The function CLOSELOOP replaces the feedback input with a direct % connection from the outout layer.
netc = closeloop(net);
netc.name = [net.name ' - Closed Loop'];
[xc,xic,aic,tc] = preparets(netc,inputSeries,{},targetSeries);
yc = netc(xc,xic,aic);
closedLoopPerformance = perform(netc,tc,yc)
the question is how can I apply for my new inputs?
have I to change the network preparets? if so, which arguments have to give?
NewOutputs=????
Thank you very much for you help. I have read many similar questions, but no answer has helped. I am a beginner and this is the last part of my master's thesis

 採用された回答

Greg Heath
Greg Heath 2014 年 11 月 15 日

0 投票

Search the NEWSGROUP and ANSWERS using
greg narxnet closeloop
Hope this helps.
Thank you for formally accepting my answer

2 件のコメント

karen faurrieta
karen faurrieta 2014 年 11 月 15 日
and this is a nerror Feedback and inputs have different numbers of timesteps.
my Newinputserie is 1x183 cell, where the first cell contains 3 x values
Greg Heath
Greg Heath 2014 年 11 月 16 日
I don't understand
size(cell2mat(Newinputseries)) = ?

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by