GithubHelp home page GithubHelp logo

rl's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rl's Issues

Question about Linear Approximation SARSA

When updating w for non-terminal state, why use this:

w += alpha*(reward - discount*q_hat_next)*q_hat_grad

rather than using the TD error (from Sutton's book v2 page 244, Episodic Semi-gradient Sarsa) like below?

w += alpha*(reward + discount*q_hat_next - q_hat)*q_hat_grad

Issue with reproducibility of Linear SARSA notebook

Hello. I am learning reinforcement learning and have been using your repository as a reference against my own implementations. However, when I cloned and immediately ran the linear approximation SARSA notebook with no changes to the repository, I was not able to reproduce your results. Specifically, I did not receive either of the printouts you did (the WARN: gym.spaces.Box autodetected dtype as <class 'numpy.float32'>. Please provide explicit dtype. and the Episodes before solve 99) and the rewards vs episodes graph that was output was very different from yours (see below).

output

Do you have any thoughts on how to fix the issue? Any help is appreciated.

Thank you for your time!

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.