problem with configuration of neural network
Show older comments
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);
Accepted Answer
More Answers (0)
Categories
Find more on Define Shallow Neural Network Architectures 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!