how can find the optimal delays and number of hidden nodes in narnet for forecasting task?
Mostrar comentarios más antiguos
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 comentarios
coqui
el 24 de Jul. de 2014
Greg Heath
el 31 de Ag. de 2015
Editada: Greg Heath
el 31 de Ag. de 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
el 3 de Oct. de 2015
coqui
el 4 de Oct. de 2015
coqui
el 4 de Oct. de 2015
Greg Heath
el 12 de Oct. de 2015
Editada: Greg Heath
el 12 de Oct. de 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
el 12 de Oct. de 2015
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Linear Predictive Coding en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!