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

reward for bumping into a wall #4

Open
zsunberg opened this issue Oct 4, 2016 · 0 comments
Open

reward for bumping into a wall #4

zsunberg opened this issue Oct 4, 2016 · 0 comments

Comments

@zsunberg
Copy link
Member

zsunberg commented Oct 4, 2016

Right now, in the grid world problem description, it says "We receive a cost of 1 for bumping against the outer border of the grid.", but in the problem implementation, it appears that a deterministic reward of -0.7 is hard coded when an action towards the edge is taken from an edge state (this is E[reward(s,a,sp)|s,a]).

Since, if a wall is bumped, the state remains the same, it is certainly possible to implement what the problem description actually says with reward(s,a,sp) by checking whether the state remains the same. This makes visualization difficult though.

A simpler alternative would be to say that a cost of 1 is accrued when an action that corresponds to moving out of bounds is taken. That way, the true reward can be captured with reward(s,a).

Can I change to a reward(s,a) formulation, or do we want to work through the difficulties associated with the current reward(s,a,sp) description?

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

No branches or pull requests

1 participant