How do I predict future results having trained a Narx Network?
Show older comments
I have trained a NARX network using the Neural Network Toolbox Time Series App using a set of data in cell format with 66 time steps, containing 6 different variables within this, as the inputs set. The target set for the training was again in cell format and contained 1 variable with 66 time steps.
I trained the network with the data in cell column format, with 10 hidden neurons, 2 delays using Levenberg-Marquardt as the training algorithm and with 70% Training, 15% Validation and 15% Testing.
From this, I want to be able to input a set of data in cell format, with 35 time steps and 6 variables to predict the outcome which is a continuation of the data set into the future from the target data set which was used for training.
I download the 'net' object to try and use the trained network but I am consistently receiving an error which reads:
Error using network/sim (line 266)
Number of inputs does not match net.numInputs.
Error in network/subsref (line 15)
otherwise, v = sim(vin,subs{:});
Error in Session_08_11_2017 (line 108)
results = net(X_Predictor);
I am relatively new to MatLab so this may seem like a very simplistic problem but any assistance on this matter would be greatly appreciated.
Many thanks in advance.
3 Comments
Greg Heath
on 16 Nov 2017
Expectation to get sufficient help without showing code is also simplistic.
Greg
C McHugh
on 16 Nov 2017
Answers (0)
Categories
Find more on Deep Learning Toolbox 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!