probabilistic_model.error#

Exceptions#

IntractableError

Exception raised when an inference is intractable for a model.

UndefinedOperationError

Exception raised when an operation is not defined for a model.

Module Contents#

exception probabilistic_model.error.IntractableError#

Bases: Exception

Exception raised when an inference is intractable for a model. For instance, the mode of a non-deterministic model.

exception probabilistic_model.error.UndefinedOperationError#

Bases: Exception

Exception raised when an operation is not defined for a model. For instance, invoking the CDF of a model that contains symbolic variables.