Skip to content

Bug fix: update params of epsilon greedy policy #107

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

Merged
merged 1 commit into from
Jun 13, 2021

Conversation

fullflu
Copy link
Contributor

@fullflu fullflu commented Jun 12, 2021

reward_counts of epsilon greedy policy should not be the mean, but the count.

If reward_counts is the mean, predicted_rewards defined in select_action is not the reward_counts / action_counts (=expected reward), but the reward_counts / action_counts^2.

I also fixed a testing script of the epsilon greedy policy.

@usaito
Copy link
Contributor

usaito commented Jun 13, 2021

@fullflu Thanks!

@usaito usaito merged commit ea4d9b8 into st-tech:master Jun 13, 2021
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

Successfully merging this pull request may close these issues.

2 participants