phyid.measures.local_entropy_mvn

phyid.measures.local_entropy_mvn(x, mu, cov)[source]

Calculate the local entropy based on multivariate normal distribution.

Parameters:
  • x (array_like, shape (n_samples, n_dims)) – input data

  • mu (array_like, shape (n_dims,)) – multivariate normal distribution mean

  • cov (array_like, shape (n_dims, n_dims)) – multivariate normal distribution covariance matrix

Returns:

h – local entropy

Return type:

array_like, shape (n_samples,)