Skip to content

Commit 2a6fe49

Browse files
authored
Merge pull request dennybritz#137 from ByzanTine/master
Minor fix: sync sample policy with the solution
2 parents fa95c7e + 9454010 commit 2a6fe49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MC/MC Prediction.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
" A policy that sticks if the player score is > 20 and hits otherwise.\n",
8888
" \"\"\"\n",
8989
" score, dealer_score, usable_ace = observation\n",
90-
" return np.array([1.0, 0.0]) if score >= 20 else np.array([0.0, 1.0])"
90+
" return 0 if score >= 20 else 1"
9191
]
9292
},
9393
{

0 commit comments

Comments
 (0)