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 个评论
回答(1 个)
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
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!