Skip to content

Instantly share code, notes, and snippets.

@MikeShi42
Last active September 18, 2018 03:26
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 MikeShi42/28927c1a5c4476d2e2e857b56d3ba964 to your computer and use it in GitHub Desktop.
Save MikeShi42/28927c1a5c4476d2e2e857b56d3ba964 to your computer and use it in GitHub Desktop.
for _ in range(10):
policy = np.random.rand(1,4)
score, observations = play(env, policy)
if score > max[0]:
max = (score, observations, policy)
print('Max Score', max[0])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment