1
0
mirror of https://github.com/gryf/coach.git synced 2025-12-17 11:10:20 +01:00

bug fix - correcting the evaluation exploration control parameter logging

This commit is contained in:
Itai Caspi
2017-10-31 13:50:40 +02:00
parent e38611b9eb
commit 1ad6262307

View File

@@ -67,4 +67,4 @@ class EGreedy(ExplorationPolicy):
return np.squeeze(action_values + (np.random.rand() < epsilon) * noise) return np.squeeze(action_values + (np.random.rand() < epsilon) * noise)
def get_control_param(self): def get_control_param(self):
return self.epsilon return self.evaluation_epsilon if self.phase == RunPhase.TEST else self.epsilon