problem in using neural network toolbox
Mostrar comentarios más antiguos
I am using the train command in matlab to train my command. It is giving error as: Error in ==> mel at 18 net=train(net,input,target);
??? Out of memory. Type HELP MEMORY for your options.
Error in ==> calcjejj at 134 JJ = Jx * Jx';
Error in ==> trainlm at 284 [je,jj,gradient] = calcjejj(net,trainV.Pd,Zb,Zi,Zl,N,Ac,El,Q,TS,mem_reduc);
Error in ==> network.train at 217 [net,tr] = feval(net.trainFcn,net,tr,trainV,valV,testV);
Error in ==> mel at 18 net=train(net,input,target);
Can anyone please help. Thanks, Nidhi
2 comentarios
Walter Roberson
el 26 de Dic. de 2012
What size() are input and target? How much memory do you have available?
Greg Heath
el 27 de Dic. de 2012
In addition to input matrix, target matrix and memory sizes, you should have included the number of hidden nodes, the transfer function types, the training algorithm and the type of net (regression, classification or timeseries prediction).
Have you considered an ensemble or committee of smaller nets, trained separately on different random subsamples of data and outputs combined linearly (e.g., regression or classification) or by committee voting (classification)?
Respuesta aceptada
Más respuestas (1)
Sean de Wolski
el 26 de Dic. de 2012
0 votos
You may want to consider using the trainscg training algorithm. This uses the scaled conjugate gradient method rather than Levenberg Marquardt and is better on memory.
Categorías
Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!