Model your problem as an MDP
To solve a problem with reinforcement learning, you need to model your problem as a Markov decision process (MDP), so you need to define
the state space,
the action space, and
the reward function
of the MDP.
Understand your problem and the goal
To do define these, you need to understand your problem and define it as a goal-...