Advertisement
Beginner Reinforcement Learning, Q-Learning

How does Q-Learning work

Short answer

The algorithm keeps updating an estimated value, called a Q value, for each state action pair based on the rewards received, gradually improving its estimate of the best action to take.

Save Reinforcement Learning mock interview
Advertisement
AModel answer
The algorithm keeps updating an estimated value, called a Q value, for each state action pair based on the rewards received, gradually improving its estimate of the best action to take.
Real-world example
A simple maze solving agent can use Q learning to gradually discover the fastest path to the exit through trial and error.
Likely follow-ups
  • What is Reinforcement Learning, How is Q-Learning evaluated in practice, What tools are commonly used for Q-Learning
Related topics