how can find the optimal delays and number of hidden nodes in narnet for forecasting task?
Afficher commentaires plus anciens
I have tried with these code but I haven't found solutions:
1/ Optimal timelags?
N = length(Target)
zy = zscore(Target,1);
autocorry = ifft( abs(fft(zy)).^2 )/N
%AUTOCORRELATION
ZT=zscore(Target,1);
autocorrT = nncorr(ZT,ZT,N-1,'biased')
figure(3)
plot(autocorrT)
%title('ACF')
2/Optimal hidden nodes???
http://www.mathworks.com/matlabcentral/answers/111521-how-to-plot-the-nar-predicted-values-in-matlab
%To find H
[I ,N]=size(Input);
[O ,N]=size(Target);
Neq=N*O;
Hub=floor((N-1)*O/(I+O+1)) %max H for Neq>=Nw
Thank you in advance.
7 commentaires
coqui
le 24 Juil 2014
Greg Heath
le 31 Août 2015
Modifié(e) : Greg Heath
le 31 Août 2015
If your calculations are correct, I would perform my typical double loop search to find the smallest value of H <= 10 to give an acceptable solution.
coqui
le 3 Oct 2015
coqui
le 4 Oct 2015
coqui
le 4 Oct 2015
Greg Heath
le 12 Oct 2015
Modifié(e) : Greg Heath
le 12 Oct 2015
Why are you posting questions about NARXNET in a NARNET thread ?
Search the NEWSGROUP and ANSWERS
NEWSGROUP ANSWERS
narxnet nncorr 7 42
narxnet xcorr 2 8
narxnet fft 1 13
Read the most recent NEWSGROUP posts first.
I searched the NEWSGROUP threads listed above. Only the "narxnet nncorr" search was fruitfull. Of the 7 threads, only 3 were useful. However, 8 messages in those threads are useful:
1. Subject: SIGNIFICANT AUTOCORRELATION DELAYS OF THE SIMPLENAR_DATASET
Date: 31 May, 2015
Messages: 12, 15, 19, 23
2. Subject: NARNET TUTORIAL ON MULTISTEP AHEAD PREDICTIONS
Date: 17 Dec, 2014
Messages: 1 , 7, 11
3. Subject: open-loop to closed-loop Narx NN in Matlab Help
Date: 21 Oct, 2012
Message: 4
Hope this helps.
Greg
coqui
le 12 Oct 2015
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Linear Predictive Coding dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!