Forecasting using a NARX network trained using catsampled training input

1 次查看(过去 30 天)
Hi all,
I've been training different NARX networks using large volumes of training data, 236 sets, each containing a minimum of 100 inputs and outputs, and at most 1371.
I'm using input delays of 1:4 based on the significant lags I observed in the data. As I am using a time-series, and my data is discontinuous due to a large prescence of NAN in the data, I am using catsamples to concatonate the samples into one large discontinuous training set. This mean my inputs and targets are for the network are
1x1371 cell, each cell containing a 1x236 double arrays.
Once I've trained the net, I wish to forecast using new external inputs, however because of the formatting of catsamples in the training process, I am receiving a formatting error. Can anyone direct me as to how to prepare a small set of inputs and targets (7 hour forecast, so 7 inputs, 7 targets) to test to the network?
Thank you in advance.

回答(1 个)

Saurav Chaudhary
Saurav Chaudhary 2021-4-20
Please refer to the MATLAB answer link attached below which might give you some ideas.

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by