Info

此问题已关闭。 请重新打开它进行编辑或回答。

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 次查看(过去 30 天)
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 个)

Greg Heath
Greg Heath 2017-5-17
编辑:Greg Heath 2017-5-17
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