From fb893b365f53988cd732b6418b3d3fd2c72ee6bd Mon Sep 17 00:00:00 2001 From: Daniel O'Connor <52418744+dtoconnor@users.noreply.github.com> Date: Wed, 3 Feb 2021 15:04:03 +0000 Subject: [PATCH] Update lab2.ipynb --- Lab2/lab2.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lab2/lab2.ipynb b/Lab2/lab2.ipynb index 7220745..4445217 100644 --- a/Lab2/lab2.ipynb +++ b/Lab2/lab2.ipynb @@ -1459,7 +1459,7 @@ " else:\n", " action = sess.run(mainQN.predict, \n", " feed_dict={mainQN.observation_input:[observation]})[0]\n", - " if not train_model and np.random.rand(1) < 0.1:\n", + " if not train_model and np.random.rand(1) < endE:\n", " action = np.random.randint(0,action_space_size)\n", " observations_1, reward, done = env.step(action)\n", " \n",