MATLAB Answers

How to find optimum parameters for a NARX model

7 views (last 30 days)
Murat Yetkin
Murat Yetkin on 19 Oct 2020
Commented: Murat Yetkin on 19 Oct 2020
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.


Sign in to comment.

Answers (1)

Ameer Hamza
Ameer Hamza on 19 Oct 2020
You can use the nlarx function(): 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.

Community Treasure Hunt

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

Start Hunting!

Translated by