Default parameters for net.trainParam and net.trainFcn - Neural Network Toolbox

5 次查看(过去 30 天)
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)?

采纳的回答

Greg Heath
Greg Heath 2013-5-7
[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 个评论
Greg Heath
Greg Heath 2013-9-29
The obvious reason: TRAINLM does not use a learning rate. See the references to understand how the LM algorithm works.

请先登录,再进行评论。

更多回答(1 个)

guirat nedjma
guirat nedjma 2017-3-31
编辑:guirat nedjma 2017-3-31
changement de la valeur de net.trainParam.lr sur trainrp ne fait rien changer dans mes resultat

类别

Help CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by