Skip to content
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

CartPole reward function inconsistent with Barto et al. #704

Closed
moshelooks opened this issue Aug 28, 2017 · 2 comments
Closed

CartPole reward function inconsistent with Barto et al. #704

moshelooks opened this issue Aug 28, 2017 · 2 comments
Labels

Comments

@moshelooks
Copy link

In both the paper and original source code the reward function for CartPole is r = -1 when the pole falls over and r = 0 otherwise. In the gym implementation the reward is the same (r = 1), whether the pole falls over or not.

@olegklimov
Copy link
Contributor

I think it's not even worth version change. Task is so, so easy. Everything works, any reward works.

@stale
Copy link

stale bot commented Sep 29, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants