AI engineering glossary · Reinforcement learning

What is q-table?

Q-table: A table with one row per situation and one column per action, storing the current estimate of the action-value for each pair. It works only when the numbers of situations and actions are small enough to list, such as in small grid worlds.

Level: beginnerTopic: Reinforcement learning

Q-table: an example

A 5x5 grid with 4 moves needs a 25 x 4 table, holding 100 numbers, all starting at 0.

Related terms

More Reinforcement learning terms

Where you learn it

Q-table is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.