- class sakkara.model.DeterministicComponent(name: str, component: ModelComponent)#
Wrapper for
pymc.Deterministic- Parameters:
name – Name that will be applied to the
pymc.Deterministicobject.component –
ModelComponentwhose corresponding PyMC variable wil be wrapped intopymc.Deterministic
- build_representation(groupset: GroupSet) None#
Build the group of this component, performed after prebuild.
- Parameters:
groupset – Groups to be used for building all components of the model.
- build_variable() None#
Build the variable, performed after prebuild and build_group.
- retrieve_groups() Set[str]#
Retrieve group names for this and underlying components
- to_minibatch(batch_size: int, group: str) ModelComponent#
Convert the component to counterpart suitable for mini-batches