botorch.exceptions

Errors

Botorch Errors.

exception botorch.exceptions.errors.BotorchError[source]

Bases: Exception

Base botorch exception.

exception botorch.exceptions.errors.CandidateGenerationError[source]

Bases: botorch.exceptions.errors.BotorchError

Exception raised during generating candidates.

exception botorch.exceptions.errors.InputDataError[source]

Bases: botorch.exceptions.errors.BotorchError

Exception raised when input data does not comply with conventions.

exception botorch.exceptions.errors.UnsupportedError[source]

Bases: botorch.exceptions.errors.BotorchError

Currently unsupported feature.

exception botorch.exceptions.errors.BotorchTensorDimensionError[source]

Bases: botorch.exceptions.errors.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: botorch.exceptions.warnings.BotorchWarning

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

exception botorch.exceptions.warnings.InputDataWarning[source]

Bases: botorch.exceptions.warnings.BotorchWarning

Warning raised when input data does not comply with conventions.

exception botorch.exceptions.warnings.CostAwareWarning[source]

Bases: botorch.exceptions.warnings.BotorchWarning

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

exception botorch.exceptions.warnings.OptimizationWarning[source]

Bases: botorch.exceptions.warnings.BotorchWarning

Optimization-releated warnings.

exception botorch.exceptions.warnings.SamplingWarning[source]

Bases: botorch.exceptions.warnings.BotorchWarning

Sampling related warnings.

exception botorch.exceptions.warnings.BotorchTensorDimensionWarning[source]

Bases: botorch.exceptions.warnings.BotorchWarning

Warning raised when a tensor possibly violates a botorch convention.