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 %
endL=[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);
Best Answer