From c97dcbf19051c95b730039b6098d581e6b4a8cdd Mon Sep 17 00:00:00 2001 From: franckjay Date: Fri, 8 Dec 2017 12:18:19 -0800 Subject: [PATCH] Minor Change: Updated Total Reward Last line printed out the reward of the last action, not the total reward. Love your videos Siraj! --- 03_PlayingAgent.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/03_PlayingAgent.ipynb b/03_PlayingAgent.ipynb index 940cca4..e3dc05e 100644 --- a/03_PlayingAgent.ipynb +++ b/03_PlayingAgent.ipynb @@ -146,7 +146,7 @@ " obs = np.expand_dims(observation, axis=0)\n", " state = np.append(np.expand_dims(obs, axis=0), state[:, :1, :], axis=1) \n", " tot_reward += reward\n", - "print('Game ended! Total reward: {}'.format(reward))" + "print('Game ended! Total reward: {}'.format(tot_reward))" ] } ],