Interfaces

Interfaces#

A natural option for setting up your model is the use of liesel.model. However, you are not locked in to using Model. Goose currently includes the following interfaces:

LieselInterface

A ModelInterface for a Liesel Model.

DictInterface

A model interface for a model state represented by a dict[str, PyTree] and a corresponding log-probability function.

DataclassInterface

A model interface for a model state represented by a dataclass and a corresponding log-probability function.

NamedTupleInterface

A model interface for a model state represented by a NamedTuple and a corresponding log-probability function.