Default parameters for net.trainParam and net.trainFcn - Neural Network Toolbox
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Maxine
el 6 de Mayo de 2013
Editada: guirat nedjma
el 31 de Mzo. de 2017
I do not have access to the Matlab Neural Network toolbox at this time. What are the default parameters of net.trainParam and net.trainFcn if you create a network by the newff.m function, say, net = newff(feature_vector, output_vector, num_hidden_nodes), and if you train the output network with the train.m function, i.e. [net, tr, Y, E, Pf, Af] = train(net, feature_vector, output_vector)?
0 comentarios
Respuesta aceptada
Greg Heath
el 7 de Mayo de 2013
[inputs,targets] = simplefit_dataset;
whos
net = newff(inputs,targets,5)
% Name Size Bytes Class Attributes
% inputs 1x94 752 double
% targets 1x94 752 double
trainFcn = net.trainFcn % 'trainlm' (Levenberg-Marquardt)
mingrad = net. trainParam.min_grad % 1e-5
mu = net.trainparam.mu % 1e-3
mudec = net. trainParam.mu_dec % 0.1
muinc = net.trainparam.mu_inc % 10
mumax = net.trainParam. .mu_max % 1e10
6 comentarios
Greg Heath
el 29 de Sept. de 2013
The obvious reason: TRAINLM does not use a learning rate. See the references to understand how the LM algorithm works.
Berna Bulgurcu
el 29 de Sept. de 2013
http://dali.feld.cvut.cz/ucebna/matlab/toolbox/nnet/trainlm.html. This page says that default learning rate is 0.01 for TRAINLM. Thank you for your answer.
Más respuestas (1)
guirat nedjma
el 31 de Mzo. de 2017
Editada: guirat nedjma
el 31 de Mzo. de 2017
changement de la valeur de net.trainParam.lr sur trainrp ne fait rien changer dans mes resultat
0 comentarios
Ver también
Categorías
Más información sobre Deep Learning Toolbox en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!