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

Error in value_iteration function of DP example #3

Open
olmerg opened this issue Jul 16, 2018 · 1 comment
Open

Error in value_iteration function of DP example #3

olmerg opened this issue Jul 16, 2018 · 1 comment

Comments

@olmerg
Copy link

olmerg commented Jul 16, 2018

the code of the example of DP (chapter 3 ), do not run the part of value iteraion because in line 209 you pass the action_values but is necesary to pass V.

action_values = one_step_lookahead(environment, state, V, discount_factor)

@OnurcanKoken
Copy link

for the code of (chapter 3), frozen_lake.py, a small change:
print(''.join([action_mappings[action] for action in np.argmax(policy, axis=1)]))

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

2 participants