deephyper.core.exceptions.problem

deephyper.core.exceptions.problem

Exceptions related with problem definition.

Exceptions

DeephyperError

Root deephyper exception.

NaProblemError(msg)

Raise when an error occurs in a NaProblem instance.

ProblemLoadDataIsNotCallable(parameter)

Raised when the load_data parameter is not callable.

ProblemPreprocessingIsNotCallable(parameter)

Raised when the preprocessing parameter is not callable.

SearchSpaceBuilderIsNotCallable(parameter)

Raised when a search space builder is not a callable.

SearchSpaceBuilderMissingDefaultParameter(…)

Raised when a parameter of a search space builder is missing a default value.

SearchSpaceBuilderMissingParameter(…)

Raised when a missing parameter is detected in a callable which creates a Structure.

SpaceDimNameOfWrongType(value)

Raised when a dimension name of the space is not a string.

WrongProblemObjective(objective[, …])

Raised when the objective parameter is neither a callable nor a string.