Skip to content
This repository has been archived by the owner on Sep 12, 2021. It is now read-only.

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
paralin committed Mar 30, 2016
1 parent 64bb083 commit d946de7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/lethalai.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def add_experience(self, experience):

def propogate_reward(self):
num_experiences = len(self.experiences)
if num_experiences >= 10 and not self.reward_propogated:
if num_experiences >= 2 and not self.reward_propogated:
reward = int(self.experiences[num_experiences - 1].reward)
self.reward_propogated = True
# Interpolate linearly from the start of the experience set to the end
Expand Down
4 changes: 2 additions & 2 deletions scripts/lloptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"discount_factor": 0.95,
"dimensionality": 800,
# 1 second of memory for eligbility trace
"target_memory": 1000,
"update_interval": 100,
"target_memory": 500,
"update_interval": 50,
"experience_dump_min": 64,
"disable_experience_dump": False,
"batch_size": 256,
Expand Down

0 comments on commit d946de7

Please sign in to comment.