How to find optimum parameters for a NARX model

8 views (last 30 days)
I am using system identification toolbox to make time series prediction with NARX with 1 input and 1 target data.
I want to find optimum parameters like number of neurons, lag, number of regressors for input and output for my NARX model.
Is there any structured way to select the training data? I have 69 datasets. I combine 3 of them sequentially and use this combination as training data. Which 3 of 69 datasets should be in my training data? I want to create a NARX model which can predict all these 69 datasets with good accuracy.
Thank you in advance.

Answers (1)

Ameer Hamza
Ameer Hamza on 19 Oct 2020
You can use the nlarx function(): https://www.mathworks.com/help/ident/ref/nlarx.html to progammatically estimate the parameters in a for-loop for all datasets.
  1 Comment
Murat Yetkin
Murat Yetkin on 19 Oct 2020
nlarx function allow me to define parameters. my question is how to decide these parameters. is there any other way of deciding what these parameters should be?

Sign in to comment.

Categories

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

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!