What the function "preparets" does in NARX neural network toolbox

I am using the NN timeseries App(NARX), I didn't understand the idea of using function "preparets" my input is 13*15 and my target is 13*1 but after running this line of code "[x,xi,ai,t] = preparets(net,X,{},T); " the number of rows will be reduced to 11 in input and target. I am wonder what's going on after applying this function
Thanks for your help

 採用された回答

Greg Heath
Greg Heath 2018 年 12 月 5 日

0 投票

The data in 2 rows are taken to provide the initial delay conditions,
Hope this helps.
Thank you for formally accepting my answer
Greg

1 件のコメント

Sara
Sara 2018 年 12 月 6 日
Dear Greg,
Thanks for your answer. I already read some of your previous tutorials but still, I am confused about using the NARX. especially multi-steps-ahead prediction. I hope you do a favor and help me in this regard.
I want to use this algorithm for fault prognostic in a system. The input data is the data from run to failure of a system and the target is the health condition of my system at each stage. I've trained this data set and I've got good results in open-loop. however, my problem is if I have new data can this algorithm predict one step-ahead target? if yes how does it work. For instance if I have the input data of stage1 does this algorithm predict target stage 2?

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

その他の回答 (0 件)

カテゴリ

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

製品

リリース

R2018a

質問済み:

2018 年 12 月 5 日

コメント済み:

2018 年 12 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by