why my neural network is not training properly when i am using traingdm or traingd as a training function?

1 visualización (últimos 30 días)
sir, i am using 'traingdm' (Gradient descent with momentum backpropagation) in my neural network as a training function but the mse(mean square error) is not decreasing during training.when i am using 'trainlm' or 'trainbr' as a training function its giving me pretty good result but i am interested to use 'traingdm' as a training function.i cant understand whats wrong with my network and code.i am inserting my performance plot and code.
% code
net = feedforwardnet(20,'traingdm');
net.divideParam.trainRatio = 70/100;
net.divideParam.valRatio = 15/100;
net.divideParam.testRatio = 15/100;
[net,tr] = train(net,x,t);

Respuestas (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by