GithubHelp home page GithubHelp logo

ku-rl-prediction's Introduction

Reinforcement learning planning & prediction

Execution

Docker

docker build -t ku-ossp2-assignment1 .
docker run --rm -it -v path/to/directory:/volume -p 5000:8888 ku-ossp2-assignment1
# localhost:5000으로 접속 후 터미널의 token을 비밀번호로 입력하여 jupyter notebook 접속

DP.py

Reinforcement learning with dynamic programming

example:

DP.py

MC.py

Reinforcement learning with Monte Carlo learning

  • 1st argument(Ne): the number of episodes

example:

MC.py 1000

TD.py

Reinforcement learning with N-step TD learning

  • 1st argument(Ns): the number of step
  • 2nd argument(Ne): the number of episodes

example:

TD.py 3 1000

experiment.ipynb

Experiment DP until convergence / MC, TD, 3step-TD with 100, 1000, 10000 steps and plot the data

Subject


  • Dynamic Planning for 4x4 Gid World

  • N-step TD Learning for 4x4 Gid World

    • Ns, Ne are command line arguments
      • Ns: N-step
      • Ne: Number of Episodes
  • Experiments

    • Learning Methods: DP, MC, 1-Step TD, 3-step TD
    • Ne for each N-step TD learning: 100, 1000, 10000, 100000
    • Perform Experiments saving results
    • Analyze the results of Experiments in tables or graphs
      • Compare V(s) of all learning methods
      • Compare mean or variance or bias(error) of V(s)

ku-rl-prediction's People

Contributors

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