AI engineering glossary · Reinforcement learning

What is terminal state?

Terminal state: A situation in which a run ends and no further choices or scores follow. Its value is defined as zero, which stops the recursive value calculation. Reaching one may be good, such as a win, or bad, such as a crash.

Level: beginnerTopic: Reinforcement learning

Terminal state: an example

In a maze task, the exit square is terminal; stepping into a trap square may also be terminal with reward -10.

Related terms

More Reinforcement learning terms

Where you learn it

Terminal state 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.