-
-
Notifications
You must be signed in to change notification settings - Fork 594
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
[Question] Is ActionBonus
wrapper correct ?
#402
Comments
It seems correct to me. At least in the current main. What may confuses is, that it does the +1 before calculating, but that's needed because the formula requires a start from 1. We could therefore make (Disclaimer: I'm not a maintainer of this repo) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ActionBonus
is a wrapper that adds an exploration bonus to less visited (state,action) pairs. Regarding the code source, we make the transition to the new state s_{t+1} before updating the counter of (s_{t+1}, a_t). Shouldn't we update the counter of (s_t, a_t) instead (i.e. perform the step in the environment after the update)?I may have misunderstood the purpose of the wrapper, but depending on your response I may submit a PR.
The text was updated successfully, but these errors were encountered: