Optimise ANN structure using GA

조회 수: 5 (최근 30일)
Rahmat Izaizi Ismail
Rahmat Izaizi Ismail 2016년 1월 18일
댓글: Mathiyazhagan S 2022년 2월 16일
After training of ANN and building the model through ANN toolbox of Matlab, in the output generation dialogue box, we can generate ANN codes by clicking on Matlab Code Generation.
Then, the generated Mat file should be saved in a file called ANN Fitness function. In this stage, through Global Optimization Toolbox, GA can be selected. Once GA is selected, it needs to call the objective function in the relevant tab. Now, we can call the ANN model as the fitness function for GA through the following syntax: @ANN Fitness function
After calling the ANN model as the fitness function for GA, how to determine the variables?
For example how can we make GA choose between 3 training algorithm which are trainlm, trainbr, trainscg and also tries 1-10 number of hidden neuron?
  댓글 수: 2
DINESH KUMAR
DINESH KUMAR 2017년 1월 18일
After training of ANN and building the model through ANN toolbox of Matlab, in the output generation dialogue box, we can generate ANN codes by clicking on Matlab Code Generation.
You have mentioned this in your comment. Please let me know how to do that. How to generate ANN code Mat file from model. email id id dinesh30@rediffmail.com
Mathiyazhagan S
Mathiyazhagan S 2022년 2월 16일
Did you got the answer for your questions.
Please share it with us.

댓글을 달려면 로그인하십시오.

답변 (1개)

omid nematollahi male
omid nematollahi male 2017년 12월 26일
hello did you solve this problem?
  댓글 수: 1
Greg Heath
Greg Heath 2017년 12월 31일
Why are you putting a question in an ANSWER BOX?

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by