exceptions#

Custom obsidian exceptions for improved error handling

Exceptions

DataWarning

Warning that gets raised if there is an issue with input data

IncompatibleObjectiveError

Exception that gets raised when the objective(s) cannot be successfully called as specified

OptimizerWarning

Warning that gets raised if there is an issue with optimization configuration

SurrogateFitError

Exception that gets raised when the surrogate model fails to fit

UnfitError

Exception that gets raised when an action is called before a model or transform has been fit

UnsupportedError

Exception that gets raised when an optimization is requested on an unsupported feature

exception obsidian.exceptions.DataWarning[source]#

Bases: UserWarning

Warning that gets raised if there is an issue with input data

exception obsidian.exceptions.IncompatibleObjectiveError[source]#

Bases: Exception

Exception that gets raised when the objective(s) cannot be successfully called as specified

exception obsidian.exceptions.OptimizerWarning[source]#

Bases: UserWarning

Warning that gets raised if there is an issue with optimization configuration

exception obsidian.exceptions.SurrogateFitError[source]#

Bases: Exception

Exception that gets raised when the surrogate model fails to fit

exception obsidian.exceptions.UnfitError[source]#

Bases: Exception

Exception that gets raised when an action is called before a model or transform has been fit

exception obsidian.exceptions.UnsupportedError[source]#

Bases: Exception

Exception that gets raised when an optimization is requested on an unsupported feature