baybe.exceptionsΒΆ

Custom exceptions.

Exceptions

DeprecationError

Signals the use of a deprecated mechanism to the user, interrupting execution.

EmptySearchSpaceError

The created search space contains no parameters.

IncompatibleSearchSpaceError

A recommender is used with a search space that contains incompatible parts, e.g. a discrete recommender is used with a hybrid or continuous search space.

ModelParamsNotSupportedError

The class does not support any model parameters.

NoMCAcquisitionFunctionError

A Monte Carlo acquisition function is required but an analytical acquisition function has been selected by the user.

NoRecommendersLeftError

A recommender is requested by a meta recommender but there are no recommenders left.

NotEnoughPointsLeftError

More recommendations are requested than there are viable parameter configurations left in the search space.

NothingToSimulateError

There is nothing to simulate because there are no testable configurations.

NumericalUnderflowError

A computation would lead to numerical underflow.

OptionalImportError

An attempt was made to import an optional but uninstalled dependency.