Skip to content

Instantly share code, notes, and snippets.

@thunderInfy
Created October 9, 2019 19:10
Show Gist options
  • Save thunderInfy/6d5cdaa2f2dfa2e0a0ee770b3ffb1fe1 to your computer and use it in GitHub Desktop.
Save thunderInfy/6d5cdaa2f2dfa2e0a0ee770b3ffb1fe1 to your computer and use it in GitHub Desktop.
while(1):
policy_evaluation()
ρ = policy_improvement()
save_value()
save_policy()
if ρ == True:
break
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment