Effacer les filtres
Effacer les filtres

I need to design an appropriate Neural Network for my Data

1 vue (au cours des 30 derniers jours)
farzad
farzad le 4 Juil 2015
Commenté : Greg Heath le 7 Juil 2015
Hi All
I am in need of correction of my neural network to work for my input and target data , please run the files with the NN , and see how the regression is
shall you please help me to get good results ?
  10 commentaires
Greg Heath
Greg Heath le 6 Juil 2015
1. Plot all 19. Then you tell me why you should have done this before designing the regression models.
2. The number of training equations are greater than the number of unknowns when
H < Hub = 325
So you just choose Hmax = 40 ???
farzad
farzad le 6 Juil 2015
so 40 is wrong ? what number should I use ?

Connectez-vous pour commenter.

Réponse acceptée

Greg Heath
Greg Heath le 6 Juil 2015
% result = 0 0.70784
% 3 0.91287
% 6 0.93873
% 9 0.94475
% 12 0.94233
% 15 0.94359
% 18 0.95516
% 21 0.95128
% 24 0.95247
% 27 0.94899
% 30 0.94737
% Elapsed time is 69.4 seconds.
% result = 0 0.70784
% 16 0.94645
% 32 0.95738
% 48 0.94561
% 64 0.95157
% 80 0.95522
% 96 0.94683
% 112 0.95382
% 128 0.96052
% 144 0.94832
% 160 0.96098
% Elapsed time is 265.5 seconds.
  3 commentaires
farzad
farzad le 6 Juil 2015
shall you please make it a bit more clear for me ? I don't understand
Greg Heath
Greg Heath le 7 Juil 2015
Obviously, it takes at least 2 hidden nodes to approximate a single local max.
If you had plotted the outputs you would have seen that there a lot of local maxes in target 3.
Have you overlaid plots of output(red) on target plots(blue)?
Originally you indicated that 0.94 was an unacceptable result.
I showed that H = 160 ~ Hmax/2 will get you up to 0.96.
It is obvious what to do if you want to go higher with this topology.
However, if you want to exceed Hmax, then use a validation set or trainbr.
Another possibility is to use 2 or 3 separate nets
Hope this helps.
Greg

Connectez-vous pour commenter.

Plus de réponses (1)

Greg Heath
Greg Heath le 5 Juil 2015
My code that you included works ok. But I did have several comments
1. PLOT ALL 19 COMPONENT PLOTS
2. Plot results
3. COMMENT OR DELETE the statemets
inp=[ input(1,:) ]';
netback
Hope this helps.
Thank you for formally accepting my anser
Greg

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by