Neural Network Training/Optimization using Genetic Algorithm
11 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I want to learn how can I train NN in Matlab NN tool box (or to optimize Weights and Neurons in hidden layer if it is possible). To do so I used the folowing code :
But I get an error message:
Undefined function 'gaoptimset' for input arguments of type 'char'.
Error in GANN (line 25) ga_opts = gaoptimset('TolFun', 1e-8,'display','iter');
Could someone help me to resolve this probleme. Thanks in advance
Note: I'm using MATLAB R2012b
0 Commenti
Risposta accettata
Alan Weiss
il 19 Apr 2013
Do you have a Global Optimization Toolbox license? Check with the ver command:
ver
If you have a license, check that gaoptimset is on your path:
which gaoptimset
If you have a function or variable named gaoptimset, delete it. If you hae a Global Optimization Toolbox license but gaotimset cannot be found, either reinstall MATLAB or get help from Technical Support.
Alan Weiss
MATLAB mathematical toolbox documentation
0 Commenti
Più risposte (1)
Vedere anche
Categorie
Scopri di più su Genetic Algorithm in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!