NARX test set closed loop

Hi all, Does NARX's test set use a closed loop network automatically in it's train(net,x,t,xi,ai) function? Since principally for the test dataset the network is just fed with input and the target is withheld from the network for testing. Thanks

 Accepted Answer

Greg Heath
Greg Heath on 22 Sep 2016
Edited: Greg Heath on 27 Sep 2016
You seem confused:
1. OL trn, val and tst subsets are automatically
tested by TRAIN.
2. The OL configuration is then explicitly
converted to CL by CLOSELOOP.
3. CL performance of the trn, val and tst subsets
is then obtained after the conversion.
You can see some recent examples by searching in BOTH NEWSREADER and ANSWERS using
greg narxnet closeloop
Hope this helps.
Thank you for formally accepting my answer
Greg

2 Comments

Thanks for that G. On a side note, could you explain to me in simple terms how removedelay(net) really works? Matlab's doc removedelay says that it decreases input delays and increases output feedback delays. If I don't closeloop before removedelay, shouldn't it be a target feedback instead of an output feedback. And how does shifting the delays enable step ahead prediction?
After reading the documentation on removedelay, I decided it's a lot of bullfeathers. So I don't use it and do not recommend it.
Hope this helps.
Greg
PS if you wish to try it I suggest more training after the delays are reduced.

Sign in to comment.

More Answers (0)

Asked:

on 21 Sep 2016

Edited:

on 27 Sep 2016

Community Treasure Hunt

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

Start Hunting!