botorch.exceptions

Errors

Botorch Errors.

exception botorch.exceptions.errors.BotorchError[source]

Bases: Exception

Base botorch exception.

exception botorch.exceptions.errors.CandidateGenerationError[source]

Bases: BotorchError

Exception raised during generating candidates.

exception botorch.exceptions.errors.InputDataError[source]

Bases: BotorchError

Exception raised when input data does not comply with conventions.

exception botorch.exceptions.errors.UnsupportedError[source]

Bases: BotorchError

Currently unsupported feature.

exception botorch.exceptions.errors.BotorchTensorDimensionError[source]

Bases: BotorchError

Exception raised when a tensor violates a botorch convention.

Warnings

Botorch Warnings.

exception botorch.exceptions.warnings.BotorchWarning[source]

Bases: Warning

Base botorch warning.

exception botorch.exceptions.warnings.BadInitialCandidatesWarning[source]

Bases: BotorchWarning

Warning issued if set of initial candidates for optimziation is bad.

exception botorch.exceptions.warnings.InputDataWarning[source]

Bases: BotorchWarning

Warning raised when input data does not comply with conventions.

exception botorch.exceptions.warnings.CostAwareWarning[source]

Bases: BotorchWarning

Warning raised in the context of cost-aware acquisition strategies.

exception botorch.exceptions.warnings.OptimizationWarning[source]

Bases: BotorchWarning

Optimization-releated warnings.

exception botorch.exceptions.warnings.SamplingWarning[source]

Bases: BotorchWarning

Sampling related warnings.

exception botorch.exceptions.warnings.BotorchTensorDimensionWarning[source]

Bases: BotorchWarning

Warning raised when a tensor possibly violates a botorch convention.