Giter Site home page Giter Site logo

batokio / rl_text-flappy-bird Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 5.27 MB

Implementation of Q-Learning and Expected SARSA algorithms to solve the Text-Flappy-Bird game

Jupyter Notebook 100.00%
reinforcement-learning reinforcement-learning-agent reinforcement-learning-environments qlearning-algorithm expected-sarsa hyperparameter-tuning

rl_text-flappy-bird's Introduction

RL_text-flappy-bird

The notebook presents the implementation of the Q-Learning and Expected SARSA algorithms to solve the Text-Flappy-Bird game

TFB_agent

Text flappy bird game

The implementation of the environment can be found here: https://gitlab-research.centralesupelec.fr/stergios.christodoulidis/text-flappy-bird-gym

Final model

Please find below the final model used to measure the performance of the agents:

Hyperparameters Q-Learning Expected SARSA
Step-size 0.5 0.5
Step-size decay 1.0 0.99999
Epsilon 0.05 0.05
Epsilon decay 0.99999 0.99999
Discount 1.0 0.9

Performance

The sum of rewards achieved by both agents:

Q-Learning: 8,041,130
Expected SARSA : 36,660

rl_text-flappy-bird's People

Contributors

batokio avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.