Reinforcement Learning, Monte Carlo Method, Python3.
a dealer’s policy is fixed, sticking at sum ≥ 17, and we are going to simulate many blackjack games to measure the policy sticking at sum ≥ 20. Blackjack Monte Carlo Implementation states To implement our simulation, let us first be clear about the states. The states in blackjack that we need to