noc-book-2 icon indicating copy to clipboard operation
noc-book-2 copied to clipboard

GA + Neural Networks

Open shiffman opened this issue 10 years ago • 3 comments
trafficstars

From: @hardmaru "maybe applying genetic algos to evolve neural nets can be a way to wrap up the last 2 chapters of #natureofcode?"

http://blog.otoro.net/2015/05/07/creatures-avoiding-planks/ https://twitter.com/hardmaru/status/596446184673185793

shiffman avatar May 08 '15 07:05 shiffman

I believe you want to do this on a basic level, but Neataptic is a library that provides neuro-evolution. You might want to check out its source code to get some kind of inspiration.

It basically all started with the way it was described in the NEAT paper, but I extended it to have way more options for mutation, as well as no more 'innovation numbers' which pile up.

wagenaartje avatar Aug 05 '17 14:08 wagenaartje

Ahhhhhh, amazing to find this 4 years later when I am actually starting up work on the 2nd edition with a goal of completing this summer! Transferring this over to noc-book-2 to remember where the original idea for chapter 11 came from!

shiffman avatar Jun 24 '19 14:06 shiffman

Good luck with launching the new edition!

hardmaru avatar Jun 24 '19 14:06 hardmaru

Guess what?!? The new chapter 11 all about neuroevolution is completed!

shiffman avatar Oct 08 '23 15:10 shiffman