Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

i am using ga to calculate the initial weight of nn. So what should be the fitness function for ga. I have taken 12 inputs and target is 1 so how can i write the fitness function.

1 Ansicht (letzte 30 Tage)
i am using ga to calculate the initial weight of nn. So what should be the fitness function for ga. I have taken 12 inputs and target is 1 so how can i write the fitness function.

Antworten (1)

Greg Heath
Greg Heath am 17 Mai 2017
Bearbeitet: Greg Heath am 17 Mai 2017
You can choose any positive semi-definite increasing fitness function you want.
The most common is
help mse
doc mse
Search
greg genetic
and
greg ga
Hope this helps.
Thank you for formally accepting my answer
Greg

Community Treasure Hunt

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

Start Hunting!

Translated by