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

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 Exchange에서 Deep 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