reach +0!

This commit is contained in:
2024-07-19 05:55:58 +08:00
parent ceae34ea86
commit 25f46c9a13
2 changed files with 15 additions and 4 deletions

View File

@ -17,6 +17,11 @@ class PacmanDeepQAgent(PacmanQAgent):
self.epsilon_explore = 1.0
self.epsilon0 = 0.4
self.minimal_epsilon = 0.01
if model.kProductionMode:
self.epsilon_explore=0.01
self.epsilon0=0.01
self.minimal_epsilon=0.01
print("in production mode, epsilon set to 0.01")
self.epsilon = self.epsilon0
self.discount = 0.95
self.update_frequency = 3