liveBook · Manning

Epsilon-greedy

Epsilon-greedy is an action-selection strategy that chooses a random action with probability epsilon and otherwise selects the currently highest-valued action.

How 3 Manning books explain it

Experimentation for Engineers

Epsilon-greedy is a bandit allocation method that usually selects the currently best alternative while exploring alternatives at a specified probability.

How it is used
Optimizes business metrics while evaluating production system variants instead of allocating traffic equally.
How deep it goes
Defines the decision rule, supplies Python simulations, covers decayed stopping, and generalizes from two alternatives to multiple arms.
Examples
Uses ad click models with CTR rewards and a social-media recommender that randomly shows some posts.
What you can do after
Apply it via a Python/NumPy-style policy to allocate among alternatives while tracking observed rewards and tuning exploration.

Read how Experimentation for Engineers explains epsilon-greedy →

Optimization Algorithms: AI techniques for design, planning, and control problems

An action-selection strategy that chooses a random action with a specified probability and otherwise selects the currently best-known action.

How it is used
Balances exploration and exploitation when selecting actions in multi-armed bandit problems.
How deep it goes
Explains the selection rule, loop steps, epsilon parameter, regret calculation, and comparison with alternative bandit strategies.
Examples
Uses three slot machines, 90 trials, payoff distributions, NumPy code, and average-regret comparisons.
What you can do after
Apply it via NumPy by implementing random exploration, greedy exploitation, payoff sampling, and regret tracking.

Read how Optimization Algorithms: AI techniques for design, planning, and control problems explains epsilon-greedy →

Build a Robo-Advisor with Python (From Scratch)

Epsilon-greedy is an action-selection strategy that chooses a random action with probability epsilon and a currently best-known action otherwise.

How it is used
Balances exploration and exploitation while Q-learning learns financial-planning actions across simulated episodes.
How deep it goes
Explains probabilities, trade-offs, tie-breaking, Q updates, and episode generation, while deferring more sophisticated exploration schedules.
Examples
Uses wealth-state transitions, action-value arrays, random tie-breaking, and one million generated episodes.
What you can do after
Apply it via Python to generate exploratory Q-learning paths and update action values.

Read how Build a Robo-Advisor with Python (From Scratch) explains epsilon-greedy →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.