bayespy.utils.random.gaussian_entropy

bayespy.utils.random.gaussian_entropy(logdet_V, D)[source]

Compute the entropy of a Gaussian distribution.

If you want to get the gradient, just let each parameter be a gradient of that term.

Parameters
logdet_Vndarray or double

The log-determinant of the precision matrix.

Dint

The dimensionality of the distribution.