problem with configuration of neural network
Ältere Kommentare anzeigen
hi I have a problem with using neural network. although I set all the parameter in 'trainparam' but it uses its default setting in training. the method that i set the parameter is as below: if true %
end
L=[4 8];
net=newcf(P,T,L);
net.trainparam.goal=1e-5;
net.trainParam.min_grad=1e-5;
net.trainparam.epochs=200;
net.trainFcn='traincgf';
net.layers{1}.transferFcn='tansig';
net.layers{2}.transferFcn='tansig';
[net,tr]=train(net,P,T);
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!