Last active
May 9, 2020 19:27
-
-
Save qgallouedec/0b9312dd0d66b05aeacf2ad916489e71 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for i_episode in range(nb_episodes): | |
| # HERE : THE CODE TO | |
| # initilize episode and loop until the game is over | |
| # ... | |
| # improve the policy after each transition | |
| # ... | |
| # if episode ends with a reward | |
| if reward: | |
| # decrease epsilon | |
| epsilon *= 0.98 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment