Model.log_prob#

property Model.log_prob: float#

Returns the log-probability of the model.

The log-probability is computed as the sum of the log-probabilities of all nodes in the model. In a Bayesian context, it can be understood as the unnormalized log-posterior.

Return type

float