Skip to content

Commit 373c3f6

Browse files
committed
normalize stddev fix
1 parent d007856 commit 373c3f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lab3/Lab3_rl_solution.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@
322322
"source": [
323323
"def normalize(x):\n",
324324
" x -= np.mean(x)\n",
325-
" x -= np.std(x)\n",
325+
" x /= np.std(x)\n",
326326
" return x\n",
327327
"\n",
328328
"def discount_rewards(rewards, gamma=0.95): \n",

0 commit comments

Comments
 (0)