[ I N ] = size(x) [ O N ] = size(t) = size(y) Ntrn = No. of training examples ( Ntrn ~ 0.7*N is default ) Ntrneq = Ntrn*O % No. of training equations MSEtrn00 = mean(var(ttrn',1))% avg training target variance SSEtrn = sse(ttrn-ytrn) MSEtrn = SSEtrn/Ntrneq NMSEtrn = MSEtrn/MSEtrn00 Rsqtrn = 1 - NMSEtrn
Adjustments ("a") for degrees of freedom lost when evaluating the net with the same data that was used to estimate the weights:
H = number of hidden nodes Nw = (I+1)*H+(H+1)*O % No. of unknown weights Ndof = Ntrneq - Nw % No. of DOF MSEtrn00a = mean(var(ttrn',0))
MSEtrna = SSEtrn/Ndof NMSEtrna = MSEtrna/MSEtrn00a Rsqtrna = 1 - NMSEtrna
For many problems an appropriate training goal is
R2sqtrna >= 0.99
or
MSEtrn <= MSEtrngoal = 0.01*max(Ndof,0)*MSEtrn00a/Ntrneq
Matlabsolutions.com provides guaranteed satisfaction with a
commitment to complete the work within time. Combined with our meticulous work ethics and extensive domain
experience, We are the ideal partner for all your homework/assignment needs. We pledge to provide 24*7 support
to dissolve all your academic doubts. We are composed of 300+ esteemed Matlab and other experts who have been
empanelled after extensive research and quality check.
Matlabsolutions.com provides undivided attention to each Matlab
assignment order with a methodical approach to solution. Our network span is not restricted to US, UK and Australia rather extends to countries like Singapore, Canada and UAE. Our Matlab assignment help services
include Image Processing Assignments, Electrical Engineering Assignments, Matlab homework help, Matlab Research Paper help, Matlab Simulink help. Get your work
done at the best price in industry.