Reinforcement learning is a technique used in machine learning used to train a model. The focus is on the sequence of actions required to achieve a goal. A reward and punishment are defined for possible actions. Then the program learns the correct sequence of actions to achieve the goal or reward. After more trial runs it can learn to do it as quickly as possible.