From 8e7b5c9c144257d5df471d5d8cc274dd0d5158fc Mon Sep 17 00:00:00 2001 From: Thomas Simonini Date: Sat, 25 Feb 2023 18:16:54 +0100 Subject: [PATCH] Update unit2.ipynb --- notebooks/unit2/unit2.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/unit2/unit2.ipynb b/notebooks/unit2/unit2.ipynb index 90baea8..13a86f0 100644 --- a/notebooks/unit2/unit2.ipynb +++ b/notebooks/unit2/unit2.ipynb @@ -511,7 +511,7 @@ }, "outputs": [], "source": [ - "# Let's create our Qtable of size (state_space, action_space) and initialized each values at 0 using np.zeros\n", + "# Let's create our Qtable of size (state_space, action_space) and initialized each values at 0 using np.zeros. np.zeros needs a tuple (a,b)\n", "def initialize_q_table(state_space, action_space):\n", " Qtable = \n", " return Qtable"