joint_entropy#

tangles.util.entropy.joint_entropy(x: ndarray) float#

Compute the discrete joint entropy of x.

For x=(x1,...,xk) the result is H(x)=H(x1,x2,...,xk).

Parameters#

x

The data.

Returns#

float

The joint entropy of (the rows of) x.