About parameters for NARX

6 views (last 30 days)
Fran Mat
Fran Mat on 18 Feb 2014
Commented: Greg Heath on 24 Feb 2014
Hi all:
I have built a NARX with 2 time-series as inputs. I have seen that changing Number of Neurons and Number of Delays, accuracy changes from time to time (sometimes for better, sometimes for worst). Instead of trial & error approach, is there a way to estimate/to start with a good combination of Delays v/s Number of Neurones in order to improve the accuracy of the network?. Thanks for your suggestions.
Best regards.

Accepted Answer

Greg Heath
Greg Heath on 19 Feb 2014
FD: Find the significant delays in the autocorrelation function of the target
ID: Find the significant delays in the cross-correlation function of the input and target.
Search for some of my example code
greg nncorr thresh95
Hope this helps.
Thank you for formally accepting my answer
Greg
  2 Comments
Fran Mat
Fran Mat on 23 Feb 2014
Hi Greg: Thanks for this.
which I think is not exactly the topic I am looking for. Remember: I have 5 series as input and 1 as output. Should I get the correlation five times? for 5 inputs versus 1 output?. Please clarify.
Thanks.
Fran.
Greg Heath
Greg Heath on 24 Feb 2014
Yes. You will get 6 sequences of significant lags; 5 for ID and one for FD. However, you also have the magnitudes of those correlations. So, if your inputs and target are standardized (zero-mean/unit-variance), you can make a reasonable choice of which ones to keep. But remember that the sequence of ID lags you choose will be applied to all of inputs.

Sign in to comment.

More Answers (0)

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!