Index Ai Academy
Glossary · Phase 3 · Machine learning

Q-value

Also written: Q-values, Q-table

The return expected from taking a given action in a given state and acting as well as possible afterward.

Try it now

The same cell prints target 0.5, error 0.3 and new Q 0.35.

Learn it properly

Q-learning: learning values by doing · A value for every action, learned from experience with no rules given: the update, a grid world you can watch, and why optimism explores better than chance. About 40 minutes.

Other terms from the same lesson

  • Q-learning: A reinforcement learning method that learns, from experience alone, a table of how good each action is in each state, and acts by taking the best one.
Keep learning

More in plain English.

1286 terms in the glossary, each with the lesson that teaches it.

1286 terms

The glossary

Every word you'll meet in AI and machine learning, explained in everyday language.

Phase 3 · lesson 40 min

Q-learning: learning values by doing

A value for every action, learned from experience with no rules given: the update, a grid world you can watch, and why optimism explores better than chance.

Never trained an AI? Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account. Teach it to write