-
Notifications
You must be signed in to change notification settings - Fork 495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How it works #17
Comments
As far as I learned from code it takes 2 inputs:
It doesn't care about bottom pipe and the gap size, and horizontal distance to next gap. In terms of the game the bird instantly falling down with acceleration (like normal gravity effect), and moving up is supposed to be done by hitting ceretain key on keyboard (e.g. Up or Space) and it looks like jump from the current position of the bird. We have 1 output here - floating number from 0 to 1. If it is greater than 0.5 we assume that bird needs to go up, so it translates it as pressing (or keep holding) UP key, otherwise - releasing the key. |
i will add explanation in README. |
It is a little off-topic, but has anyone tried to apply the underlying concepts to price modeling on e-commerce? I can clearly see an analogy to real transactional application. |
@xviniette: I too am trying to understand how the neuroevolution algorithm works. I'm a total beginner to AI, and I wish to understand more about reinforcement learning algorithms like this one. Is there an academic paper such as the ones on https://arxiv.org that goes over the math behind neuroevolution.js? Much appreciated. |
Much appreciated if you add explanation in README :) |
@xviniette Still waiting for the tutorial! |
Me 2
On Thu, Aug 17, 2017 at 10:53 PM, Pranay Kothapalli <[email protected]> wrote:
@xviniette [https://github.com/xviniette] Still waiting for the tutorial!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub [#17 (comment)] , or mute the thread [https://github.com/notifications/unsubscribe-auth/AATFWwS-cC8UH_VXLgFqW2S1bZ9CSUDpks5sZSbKgaJpZM4Kxfhy] .
|
Cannot quite get XOR to work right bellow 0.3 error rate |
@planktonfun |
@AmrAlaa-exe here you go:
|
I tried and it works on my end. Try to increase the mutationRange. |
@xviniette Finally It works when the mutation is at 80% after 3868 iterations thanks! Was starting to lose hope at 400 iterations, and 21282 iterations 50% Mutation. |
@sunrei Thanks for you explanation. I guess in fact only the relative position matters, i.e., the vertical distance between the bird and the first upper pipe before it. thus, this task can be modeled as a 1-input-1-output function fitting (or binary classification) problem, where the neural networks come in. |
Which Neuroevolution algorithm is this using, is it NEAT? If not, the answer I am really after is whether it evolves the hyper-parameters (i.e. network topology) or not? |
@rhysstubbs It is not the standard NEAT. Only the network connection weights are evolved, I think. That is, use genetic algorithm instead of back-propagation to train the network. |
I know you linked to the article regarding the algorithm but it would be useful to have a walk-through (high-level) of what the Neuroevolution is doing in the case of this game.
For example, talking about what the inputs are (location on screen?) and what the outputs are (go up, or down).
Thank you, great example.
The text was updated successfully, but these errors were encountered: