USING A NEURAL NETWORK AS AN OBJECTIVE FUNCTION INSIDE A GENETIC ALGORITHM
1 次查看(过去 30 天)
显示 更早的评论
I trained a neural network with the name 'net', after that I am using a genetic algorithm to do some optimization. After using this syntax, the following 'error' message appears.
C = ga(@net,4,[],[],[],[],[30 80 170 230],[50 100 310 250])
Error: "net" was previously used as a variable, conflicting with its use here as the name of a function or command.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Genetic Algorithm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!