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_V (ndarray or double) – The log-determinant of the precision matrix.
D (int) – The dimensionality of the distribution.