AI engineering glossary · Reinforcement learning

What is regret?

Regret: The gap between the total score that the best fixed option would have earned and the score actually earned over a number of rounds. Lower growth of this gap means faster learning. Good bandit methods have regret growing only logarithmically with the number of rounds.

Level: intermediateTopic: Reinforcement learning

Regret: an example

If the best banner would have earned 500 clicks in 10,000 views but the learner got 460, its regret is 40 clicks.

Related terms

More Reinforcement learning terms

Where you learn it

Regret 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.