Evolutionary-Algorithm icon indicating copy to clipboard operation
Evolutionary-Algorithm copied to clipboard

Evolutionary Algorithm using Python, 莫烦Python 中文AI教学

Results 4 Evolutionary-Algorithm issues
Sort by recently updated
recently updated
newest added

Hey! I am working on some code with open cv to track the percentage of frames in which my face is detected in terms of "attention span". I intend to...

您好,莫烦老师,非常感谢你的视频分享。 我对ES neuroevolution的算法有个疑问想请教下,你的算法中只用了20个individuals就可以起到比较好的效果了,我看openai的算法,为什么他们需要1000个才行?而且我将openai算法中的individuals的数量减少了,似乎他们的算法就无法收敛了。

莫烦哥你好,我想问一下这个地方为什么又执行 p.run(eval_genomes, 10) 这个函数,前面不都是已经训练好了吗,最后为什么又训练了10次 ``` p = neat.Checkpointer.restore_checkpoint('neat-checkpoint-49') p.run(eval_genomes, 10) ``` # https://github.com/MorvanZhou/Evolutionary-Algorithm/blob/master/tutorial-contents/Using%20Neural%20Nets/NEAT/run_xor.py 第59行

when DNA_SIZE > 1, index out of boundary at good_idx = idx[fitness.argsort()][-POP_SIZE:] so, suggestion is : def kill_bad(pop, kids): # put pop and kids together for key in ['DNA', 'mut_strength']:...