Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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 visualización (últimos 30 días)
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.

Respuestas (1)

Greg Heath
Greg Heath el 17 de Mayo de 2017
Editada: Greg Heath el 17 de Mayo de 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