liesel.model.nodes.Obs#

liesel.model.nodes.Obs(value, distribution=None, name='')[source]#

Declares an observed variable.

Sets the Var.observed flag. If the observed variable is a random variable, i.e. if it has an associated probability distribution, its log-probability is automatically added to the model log-likelihood (see Model.log_lik).

Return type:

Var