- class liesel.goose.types.ModelInterface(*args, **kwargs)#
Defines a standardized way for Goose to communicate with a statistical model.
This means predominantly, to update the model state and to compute the log-probability.
Extracts the position from the model state given a sequence of position keys.
Computes the unnormalized log-probability given the model state.
Updates the model state with the values in the position.