bayespy.utils.misc.normalized_exp

bayespy.utils.misc.normalized_exp(phi)[source]

Compute exp(phi) so that exp(phi) sums to one.

This is useful for computing probabilities from log evidence.