Skip to content

Instantly share code, notes, and snippets.

@ikbendewilliam
Created February 17, 2021 10:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ikbendewilliam/120f9f38a8533d043991e01d86668228 to your computer and use it in GitHub Desktop.
Save ikbendewilliam/120f9f38a8533d043991e01d86668228 to your computer and use it in GitHub Desktop.
board_size = 4
output_size = 4
learning_rate = 1e-3
maximum_discount = .99
random_action_threshold = 0.1
game_max_length = 1024
num_episodes = 8000
save_interval = 100
env = game.Game(board_size)
rlModel = model.RLModel(learning_rate=learning_rate)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment