Var
Var#
- class liesel.model.nodes.Var(value, distribution=None, name='')[source]#
Bases:
object
A variable wrapping a value and a distribution node.
Methods
Returns all input nodes as a frozen set.
Returns all input variables as a frozen set.
Returns all output nodes as a frozen set.
Returns all output variables as a frozen set.
update
()Updates the variable.
Attributes
Additional meta-information about the variable as a dict.
The distribution node of the variable.
The groups the variable belongs to.
Whether the variable has a probability distribution.
The log-probability of the variable.
The model the variable is part of.
The name of the variable.
The nodes of the variable as a list.
Whether the variable is observed.
Whether the variable is a parameter.
The role of the variable.
Whether the variable is strong.
The value of the variable.
The value node of the variable.
The proxy node for the value of the variable.
Whether the variable is weak.