Is it possible to run a NARX neural network with less than 10 timesteps?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
James Wardle
am 27 Apr. 2020
Kommentiert: James Wardle
am 3 Mai 2020
Hi,
I have four input variables and one target variable for each year from 2011 to 2019, which gives me 9 timesteps. I then want to predict a value for 2020 using a NARX neural network. However, I cannot create the network because I get a "Data has less than 10 timesteps." warning. Is it possible to create a NARX NN with 9 timesteps?
Thanks,
James
0 Kommentare
Akzeptierte Antwort
Srivardhan Gadila
am 3 Mai 2020
Alternatively if you can follow the example Train NARX Network and Predict on New Data & write a MATLAB script as below then I think you can create and train the network.
[X,T] = simpleseries_dataset;
Xnew = X(10:100);
X = X(1:9);
T = T(1:9);
net = narxnet(1:2,1:2,10);
[Xs,Xi,Ai,Ts] = preparets(net,X,{},T);
net = train(net,Xs,Ts,Xi,Ai);
view(net)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Modeling and Prediction with NARX and Time-Delay Networks finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!