liveBook · Manning

Upper confidence bound

Upper confidence bound is a decision rule that combines an estimated value with an uncertainty bonus to select actions or candidates optimistically.

How 2 Manning books explain it

Bayesian Optimization in Action

An upper confidence bound is a Bayesian optimization acquisition policy that combines a predictive mean with an uncertainty-based confidence term to select candidate evaluations.

How it is used
Selects the next Bayesian optimization query by optimistically scoring predicted objective values under uncertainty.
How deep it goes
Derives μ + βσ from Gaussian-process confidence intervals, explains β behavior, and implements UCB with BoTorch.
Examples
Uses weather uncertainty, slot machines, the one-dimensional Forrester function, and support-vector-machine hyperparameter tuning.
What you can do after
Apply it via BoTorch by configuring UpperConfidenceBound with a GP model and β, then optimizing its acquisition score.

Read how Bayesian Optimization in Action explains upper confidence bound →

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

Upper confidence bound is an action-selection strategy that combines estimated reward with an uncertainty bonus to balance exploitation and exploration.

How it is used
Balances exploration and exploitation when selecting actions in a noncontextual multi-armed bandit.
How deep it goes
Implements initialization, a confidence-score formula, iterative updates, parameter tuning, and regret comparison through Python code.
Examples
Uses three slot machines, 90 trials, payoff distributions, NumPy listings, and average-regret comparisons.
What you can do after
Apply it via NumPy by selecting arms, updating rewards, tuning c, and measuring average regret.

Read how Optimization Algorithms: AI techniques for design, planning, and control problems explains upper confidence bound →

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.