TwoStateMDP

Coding a Simple Markov Decision Process

This is a quick tutorial on how to implement a two-state Markov Decision Process (MDP). It has only two states: state 1 and state 2. Applications MDPs often appear in machine learning and reinforcement learning. At any stage, the agent can take any of the two actions. The actions are to stay or switch. The …

Coding a Simple Markov Decision Process Read More »