Giter Site home page Giter Site logo

mokeddembillel / lunar-lander-deep-expected-sarsa Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 483.87 MB

Using deep expected sarsa with tensorflow to solve the lunar lander problem with hyperparameter tuning and results analysis

Python 8.30% Jupyter Notebook 91.70%
reinforcement-learning expected-sarsa tensorflow2 epsilon-greedy boltzmann-exploration hyperparameter-tuning lunar-lander softmax-exploration

lunar-lander-deep-expected-sarsa's Introduction

Lunar-Lander-Deep-Expected-Sarsa

This project is about using deep expected sarsa with tensorflow to solve the lunar lander problem with hyperparameter tuning and result's analysis

These points are important read them please:

  • all data and models are in results folder

  • folder tests is just for you if you want to test something

  • if you want to plot the data, you don't need tensorflow just python and matplotlib

  • you need TensorFlow 2.3 for it to work

the code is structured this way:

  • imports

  • replay buffer class

  • expected sarsa network

  • softmax and argmax helper functions

  • agent class

  • lunarlander class

  • loading, parsing plotting helper functions

  • run experiment function for testing egreedy and softmax

  • run experiment function for testing batch size and replay steps

  • run experiment normal run

  • setting all learning parameters, data and the call for the run experiment function

  • cell for loading data and defining the loaded variable (run it before trying to plot or test the agent)

  • cell to compute averages

  • cell to plot same : plot all data (rewards, loss, episode steps) for each type of tests

  • cell for choosing best batch size and number of replay steps

  • cell for choosing best softmax tau and step-size

  • cell for choosing best e-greedy epsilon and step-size

  • INFO CELL (IMPORTANT READ IT PLEASE)

  • cell to load and reconstruct model

  • cell to plot data of best model

  • cell to test the agent

  • thank you :)

lunar-lander-deep-expected-sarsa's People

Contributors

mokeddembillel avatar

Stargazers

 avatar

Watchers

 avatar  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.