Borrar filtros
Borrar filtros

how to calculate the error in Neural Network Back Propagation Network

3 visualizaciones (últimos 30 días)
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);

Respuesta aceptada

Greg Heath
Greg Heath el 22 de Jul. de 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

Más respuestas (0)

Categorías

Más información sobre Sequence and Numeric Feature Data Workflows en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by