When i try it the obvious way the change is ignored,
>> net = feedforwardnet(20);>> net.performFcn='msereg';>> net.performFcnans =mse
Also i've noticed that changing parameters in net.trainParam is completely ignored in latter call of train function
>> net = feedforwardnet(20);>> matlabpool open>> net.trainParam.epochs = 130;>> net.trainParamans = (...)Maximum Epochs epochs: 130>> net=train(net,WE2,WY2, 'useParallel','yes','useGPU','yes');NOTICE: Jacobian training not supported on GPU. Training function set to TRAINSCG.Lab 1: Training with TRAINSCG. Epoch 0/1000, (...)
As u can see the epoch limit didn't actually change. What am I doing wrong, and how to do it properly?
*im using matlab r2012b
Best Answer