From 1ad6262307b784bdbca8d7382e639e2aff90c0d0 Mon Sep 17 00:00:00 2001 From: Itai Caspi Date: Tue, 31 Oct 2017 13:50:40 +0200 Subject: [PATCH] bug fix - correcting the evaluation exploration control parameter logging --- exploration_policies/e_greedy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exploration_policies/e_greedy.py b/exploration_policies/e_greedy.py index ff81ba0..f0cb01f 100644 --- a/exploration_policies/e_greedy.py +++ b/exploration_policies/e_greedy.py @@ -67,4 +67,4 @@ class EGreedy(ExplorationPolicy): return np.squeeze(action_values + (np.random.rand() < epsilon) * noise) def get_control_param(self): - return self.epsilon + return self.evaluation_epsilon if self.phase == RunPhase.TEST else self.epsilon