How can i change performFcn of neural network training?
Show older comments
When i try it the obvious way the change is ignored,
>> net = feedforwardnet(20);
>> net.performFcn='msereg';
>> net.performFcn
ans =
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.trainParam
ans =
(...)
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
Accepted Answer
More Answers (0)
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!