phyid.measures.local_entropy_binary

phyid.measures.local_entropy_binary(x)[source]

Calculate the local entropy based on binary distribution.

Parameters:

x (array_like, shape (n_dims, n_samples)) – input data

Returns:

h – local entropy

Return type:

array_like, shape (n_samples,)