treeple.experimental.mutual_info.entropy_gaussian#

treeple.experimental.mutual_info.entropy_gaussian(cov)[source]#

Compute entropy of a multivariate Gaussian.

Computes the analytical solution due to [1].

Parameters:
covarray_like of shape (d,d)

The covariance matrix of the distribution.

Returns:
true_mifloat

The true analytical mutual information of the generated multivariate Gaussian distribution.

Notes

The analytical solution for the true mutual information, I(X; Y) is given by:

I(X; Y) = H(X) + H(Y) - H(X, Y) = -\frac{1}{2} log(det(C))

References