I need to design an appropriate Neural Network for my Data
조회 수: 1 (최근 30일)
이전 댓글 표시
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
Greg Heath
2015년 7월 6일
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 ???
채택된 답변
Greg Heath
2015년 7월 6일
% 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
Greg Heath
2015년 7월 7일
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
추가 답변 (1개)
Greg Heath
2015년 7월 5일
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
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!