Add extra neuron for heartbeat, add heartbeat for continuous motion#12
Open
Timfa2112 wants to merge 1 commit intocarykh:masterfrom
Open
Add extra neuron for heartbeat, add heartbeat for continuous motion#12Timfa2112 wants to merge 1 commit intocarykh:masterfrom
Timfa2112 wants to merge 1 commit intocarykh:masterfrom
Conversation
Note: This also causes an extra unneccesary neuron to be created in the output layer, but this should be harmless.
Author
|
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, ***@***.***> 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
<#12 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGE80RY9Z3tSmavYlPVd1sFu5OUKGvy_ks5sN5f8gaJpZM4OYV94>
.
|
Author
|
I don't think I completely understand what you mean, could you elaborate? |
Author
|
Creature test (after a few thousand generations) First test: https://youtu.be/KV1vOkai8D0 |
Author
|
I let that second version run until just now (About two days total I think?) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.





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.