USING A NEURAL NETWORK AS AN OBJECTIVE FUNCTION INSIDE A GENETIC ALGORITHM

2 vues (au cours des 30 derniers jours)
GEORGIOS BEKAS
GEORGIOS BEKAS le 2 Août 2018
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.

Réponses (0)

Produits


Version

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by