When i tried to change the training function in nntrain , from trainlm to traindx, i get the error :
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
NN
el 27 de Oct. de 2020
Comentada: NN
el 27 de Oct. de 2020
When i tried to change the training function in nntrain , from trainlm to traindx, i get the following error :
Error using fitnet (line 73)
FCN is not the name of a function on the MATLAB path.
I used the below code for changing learning rate and momemtum .
trainFcn = 'traindx'; % Levenberg-Marquardt backpropagation.
% Create a Fitting Network
hiddenLayerSize =10;
net.trainParam.lr = 0.5;
net.trainParam.mc=0.5;
net = fitnet(hiddenLayerSize,trainFcn);
kindly advice
0 comentarios
Respuesta aceptada
Walter Roberson
el 27 de Oct. de 2020
The message is correct. Mathworks does not supply any function named traindx .
It does, however, supply a function named traingdx
Más respuestas (0)
Ver también
Categorías
Más información sobre Pattern Recognition and Classification en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!