python code successfullly reproduce the Gambler problem, Figure 4.6 of Chapter 4 on Sutton's book, Sutton, R. S., & Barto, A. G. (1998). Reinforcement learning: An introduction (Vol. 1, No. 1). Cambridge: MIT press.
-
Updated
Dec 19, 2017 - Python