使用GA优化ANN结构
20 views (last 30 days)
Show older comments
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.
然后,生成的垫子文件应保存在名为ANN FITNESS功能的文件中。在此阶段,可以通过全局优化工具箱选择GA。选择GA后,它需要在相关选项卡中调用目标函数。现在,我们可以将ANN模型称为GA的健身函数,通过以下语法:@Ann Fitness函数
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?
Answers (1)
See Also
下载188bet金宝搏
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
开始狩猎!