In the good ol' days it used to be 100. Now it seems to be 1000.
The info in the documentation of trainlm, trainscg and probably others, needs to be updated.
clear all, clc,
x = randn(1,100);
t = x.^2;
net = newff(x,t,10);
trainfunc = net.trainFcn
numepochs = net.trainParam.epochs
net = newfit(x,t,10);
trainfunc = net.trainFcn
numepochs = net.trainParam.epochs
net = newpr(x,t,10);
trainfunc = net.trainFcn
numepochs = net.trainParam.epochs
net = fitnet(10);
trainfunc = net.trainFcn
numepochs = net.trainParam.epochs
net = patternnet(10);
trainfunc = net.trainFcn
numepochs = net.trainParam.epochs
net = feedforwardnet(10);
trainfunc = net.trainFcn
numepochs = net.trainParam.epochs
Hope this helps.
Thank you for officially accepting my answer.
Greg
Best Answer