1

When training a nn using trainbr like this:

net = newff( inputs_train, outputs_train, layers, { 'tansig', 'purelin' }, 'trainbr' );
net.trainParam.goal = 0.0;
net.trainParam.show = 1;
net.trainParam.epochs = ephocs;
net = train( net, inputs_train, outputs_train );

How do I obtain the number of epohcs/iterations that has been run before max mu has been reached?

Cheers

4

1 回答 1

2

我会使用较新的 FEEDFORWARDNET 而不是旧的 NEWFF。

您可以从 TRAIN 获取训练记录作为第二个参数:

[net,tr] = train(net,inputs_train,outputs_train);
tr.num_epochs
于 2014-03-26T02:33:46.100 回答