"removedelay" and predicting

1 view (last 30 days)
SEONG BAE JO
SEONG BAE JO on 20 May 2020
Answered: Raunak Gupta on 27 May 2020
I trained narx network for training data.
Net : trained network
Nets : removedelay(Net)
Ys = net(Nets, ...)
If I apply removedelay network to test data, all results(Ys) are predicted value from trained network(Net) ?
What is the difference between "net(Net, testdata)" and "net(Nets, testdata)" ???

Answers (1)

Raunak Gupta
Raunak Gupta on 27 May 2020
Hi,
From the documentation of removedelay I can see that the prediction on Nets in question will result in output of one-time step ahead. It is clearly mentioned that for original network if the output is y(t) then removed delay network will return y(t+1). So, both predictions will be same but in the removed delay network one extra prediction will be there because the time delay is not present. You may try the example given in the documentation to confirm the same.

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!