evolutionSteer
evolutionSteer copied to clipboard
Add extra neuron for heartbeat, add heartbeat for continuous motion
In the video, you can see that only using the distance from a node to the food will cause the input to never change once the creature is stationary. Only some twitching will cause a creature to keep moving, which is an unintentional side-effect of the physics engine.
Creating an extra node with a "heartbeat" will cause the input to constantly fluctuate, which gives the brain something to grab a hold of for continuous movement.
Tested locally to approx. gen 100, and already interesting results can be seen, with creatures almost walking, in a sense.
Note: Due to how the brain is created, this also causes an extra unneccesary neuron to be created in the output layer, but this should be harmless. I'm not completely familiar with the neural network code though, and this might require checking to make sure.
Test results:
Would be also interesting to force one for each tile to survive, maybe as mutation of the best fit
On Fri, 14 Jul 2017, 18:31 Tim Falken, [email protected] wrote:
Test results: [image: gen180] https://user-images.githubusercontent.com/2089232/28221195-a909089a-68c2-11e7-819f-e839c41b2578.png [image: gen251] https://user-images.githubusercontent.com/2089232/28221203-ac02c00e-68c2-11e7-9640-2a516afb5c85.png [image: gen763] https://user-images.githubusercontent.com/2089232/28221207-ae73f74a-68c2-11e7-81e2-8c8c48870d11.png [image: gen1042] https://user-images.githubusercontent.com/2089232/28221210-b0dcf518-68c2-11e7-9807-c39d8e33c29e.png
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/carykh/evolutionSteer/pull/12#issuecomment-315404928, or mute the thread https://github.com/notifications/unsubscribe-auth/AGE80RY9Z3tSmavYlPVd1sFu5OUKGvy_ks5sN5f8gaJpZM4OYV94 .
I don't think I completely understand what you mean, could you elaborate?
Creature test (after a few thousand generations)
First test: https://youtu.be/KV1vOkai8D0 Second test: (my favorite) https://www.youtube.com/watch?v=ysaBrH9H9LE
I let that second version run until just now (About two days total I think?) Generation 11638 Creature video: https://youtu.be/qfih-HPXQzI
This is a great modification!! After merging into my branch, i instantly reached 100 chomps in less than 100 generations (in straight line). I think this is the most natural solution for solving the jumper creature problem! See you Joseph
