From 1a51684f96d282914e1b5a868dc0425eba1154a3 Mon Sep 17 00:00:00 2001 From: romanoneg <43445765+romanoneg@users.noreply.github.com> Date: Fri, 11 Nov 2022 11:09:52 -0500 Subject: [PATCH] Update Value Iteration.ipynb --- Value Iteration.ipynb | 2 -- 1 file changed, 2 deletions(-) diff --git a/Value Iteration.ipynb b/Value Iteration.ipynb index da978dc..0976959 100644 --- a/Value Iteration.ipynb +++ b/Value Iteration.ipynb @@ -120,7 +120,6 @@ "\n", "while True:\n", " delta = 0\n", - " sweep = 1\n", " for s in range(1, 100):\n", " v = V[s]\n", " q_value = 0\n", @@ -132,7 +131,6 @@ " V[s] = max_value\n", " delta = max(delta, abs(v - V[s]))\n", " plt.plot([i for i in range(1, 100)], V[1:100])\n", - " sweep += 1\n", " if(delta < ERROR):\n", " break\n", " \n",