Effacer les filtres
Effacer les filtres

how to calculate the error in Neural Network Back Propagation Network

3 vues (au cours des 30 derniers jours)
ajith
ajith le 18 Juil 2013
sir,
My doubt regards how to make the minum error rate =0.001
net = newff(input,target,10,{'tansig' 'purelin'},'trainlm');
nsch.trainparam.show=3;
nsch.trainparam.lr=0.1;
nsch.trainparam.mc=0.9;
nsch.trainparam.epochs=100;
nsch.trainparam.goal=1e-30;
net = train(net,input,target);
res=sim(net,input);

Réponse acceptée

Greg Heath
Greg Heath le 22 Juil 2013
Use as many defaults as possible
MSEgoal = 0.01*mean(var(target',1))
MinGrad = MSEgoal/100
net = newff(input,target);
net.trainParam.goal = MSEgoal;
net.trainParam.min_grad = MinGrad;
[ net tr output error ] = train(net, input, target);
For details, search ANSWERS using the search word msegoal
Hope this helps.
Greg
Thank you for formally accepting my answer
Greg

Plus de réponses (0)

Catégories

En savoir plus sur Sequence and Numeric Feature Data Workflows dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by