From 164f23d67a44573d7ad57a91d32fe89cc9483648 Mon Sep 17 00:00:00 2001 From: Gwang Jong Ko Date: Sun, 5 Jul 2020 21:23:24 +0900 Subject: [PATCH] Update agent.py --- 1-grid-world/4-q-learning/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-grid-world/4-q-learning/agent.py b/1-grid-world/4-q-learning/agent.py index 811b00b..df9f927 100644 --- a/1-grid-world/4-q-learning/agent.py +++ b/1-grid-world/4-q-learning/agent.py @@ -9,7 +9,7 @@ def __init__(self, actions): self.actions = actions self.step_size = 0.01 self.discount_factor = 0.9 - self.epsilon = 0.9 + self.epsilon = 0.1 self.q_table = defaultdict(lambda: [0.0, 0.0, 0.0, 0.0]) # 샘플로부터 큐함수 업데이트