Gradient LabSign up free

ML glossary › Q-value

What is q-value in machine learning?

The expected total future reward for taking a particular action in a particular state.

Where it shows up

Reinforcement learning

Q-learning

Q-learning keeps a q-value for every state and action: “how much total reward do I expect if I do this here?” Purple bars are “go left”, teal bars “go right”. Everything starts at 0.

See q-value in motion. The lesson animates it step by step, free.

Open the lesson

Related terms