Can anybody help me to sort out this error?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Biomedical
am 1 Okt. 2013
Beantwortet: Greg Heath
am 1 Okt. 2013
I am running neural network for cancer data set with 50000 hidden layer neurons but getting following error:
??? Error using ==> horzcat Out of memory. Type HELP MEMORY for your options.
Error in ==> calcgrad at 96 Nc = [N{i,:}];
Error in ==> calcgx at 98 [gB,gIW,gLW] = feval(net.gradientFcn,net,Q,PD,BZ,IWZ,LWZ,N,Ac,gE,TS);
Error in ==> trainscg at 241 gX = -calcgx(net,X,trainV.Pd,Zb,Zi,Zl,N,Ac,El,perf,Q,TS);
Error in ==> network.train at 216 [net,tr] = feval(net.trainFcn,net,tr,trainV,valV,testV);
Error in ==> create_pr_net at 10 [net,tr] = train(net,inputs,targets);
Please help me to solve this error..
0 Kommentare
Akzeptierte Antwort
Greg Heath
am 1 Okt. 2013
Use the default number of hidden nodes.
Post any error messages.
0 Kommentare
Weitere Antworten (1)
Jan
am 1 Okt. 2013
If you take the chance to search the error message in this forum, you will find the standard solutions:
- install more RAM
- run a 64 bit version of the OS and Matlab
- install even more RAM
- Increase the virtual memory
- as much RAM as you can effort is a good point to start from
Only a small number of these errors are based on bugs like creating a huge matrix by rand(10000) although a vector rand(1, 10000) was meant.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Define Shallow Neural Network Architectures finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!