Skip to main content

discrete_acqf.upper_confidence_bound

discrete_acqf.upper_confidence_bound(pred, beta=2.0, *, maximize=True)

An optimistic guess: the mean plus beta standard deviations.

With maximize=False, the score is minus the mean minus beta standard deviations, the negated lower confidence bound.

Parameters

Name Type Description Default
pred Prediction The prediction at the candidates. required
beta float The number of standard deviations, \(\beta\). Larger explores more. 2.0
maximize bool Whether larger outcomes are better. True

Returns

Name Type Description
Tensor One score per candidate, shaped like pred.mean.