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

Minor "bug" fix and add .gitignore #11

Merged
merged 3 commits into from
Apr 21, 2020

Conversation

matteobarbieri
Copy link
Contributor

Ciao!

So, I added a standard .gitignore for Python (you know how much I love them) and i fixed a minor "bug" (not exactly a bug, but close enough): the epsilon variable was initialized in the cell before the one with the main loop. This caused the following behaviour: if I run that cell (the one with the main loop) twice, without also running in advance the previous one, which would reset the value of epsilon to 1, it will keep the old, small value and thus cause the algorithm to work in a fully greedy way (epsilon is basically zero at that point).

I also changed the function test_game removing the n_actions parameter, which can be retrieved by the env parameter.

@andri27-ts andri27-ts merged commit c57064f into andri27-ts:master Apr 21, 2020
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