Description
In my today’s medium post, I will teach you how to implement the Q-Learning algorithm. But before that, I will first explain the idea behind Q-Learning and its limitation. Please be sure to have some…
Summary
- Q-Learning Algorithm: In the beginning, the agent has no idea about the environment.
- If we skip this important step, the Q-Value function will converge to a local minimum which in most of the time, is far from the optimal Q-Value function.
- Here, we will use the FrozenLake environment of the gym python library which provides many environments including Atari games and CartPole.