calculate weight change corresponding to a neuron , and apply the changed weights to all other inputs and find the mse.
P=[p1,p2,...]
for i=1:number of inputs
///change weights here
for j=1:number of inputs
a=f(net);
error[j] =target[j] -a[j];
end
mse=error *error' / numel(error);
end
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…