matlab - How to use trained neural network to predict future values of time series? -
i have been using neural network toolbox (matlab) time series prediction. have followed every step given in manual , have got "net" network.
my input had 1344 values, output has 1340 values (because of delay 4). question how know 1341th value , on using trained neural network?
this might help
net = newff(observations,targets,10); [net,tr] = train(net,observations',targets'); erg = zeros(size(test_mat,1),1); = 1: size(test_mat,1) y = sim(net,test_mat(i,:)'); erg(i)=find(compet(y)); end
where observations
training set targets
known values of hindcast , test_mat
values forecast. in erg
predictions forecast stored.
Comments
Post a Comment