We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b48b2f6 commit a899a3fCopy full SHA for a899a3f
deep_learning_grid_world_q_learning.py
@@ -28,7 +28,7 @@ def create_grid_world(ax):
28
ax.set_ylim(0, 5)
29
plt.gca().invert_yaxis()
30
31
-#``````````````````````````````````````````````````````````````` EPSILON `````````````````````````````````````````````````````````````
+#``````````````````````````````````````````````````````````````` EPSILON ````````````````````````````````````````````````````````````
32
def epsilon_greedy(Q, state, epsilon):
33
if random.uniform(0, 1) < epsilon:
34
return random.choice([0, 1, 2, 3])
0 commit comments