From 7b3d280a866a3dd12aedbe911f82b1ceff6728e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Geron?= Date: Tue, 31 Mar 2020 21:39:51 +1300 Subject: [PATCH] Fix error in commented out code, fixes #89 --- 18_reinforcement_learning.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/18_reinforcement_learning.ipynb b/18_reinforcement_learning.ipynb index 7f2b685..e6d3717 100644 --- a/18_reinforcement_learning.ipynb +++ b/18_reinforcement_learning.ipynb @@ -1599,7 +1599,7 @@ " #target_weights = target.get_weights()\n", " #online_weights = model.get_weights()\n", " #for index in range(len(target_weights)):\n", - " # target_weights[index] = 0.99 * target_weights[index] + 0.01 * target_weights[index]\n", + " # target_weights[index] = 0.99 * target_weights[index] + 0.01 * online_weights[index]\n", " #target.set_weights(target_weights)\n", "\n", "model.set_weights(best_weights)"