hoi.core.entropy_kernel — HOI 0.0.5 documentation (original) (raw)

Contents

hoi.core.entropy_kernel#

hoi.core.entropy_kernel(x: array, bw_method: str = None) → array[source]#

Entropy using gaussian kernel density.

Parameters:

xarray_like

Input data of shape (n_features, n_samples)

bw_methodstr | None

Estimator bandwidth. See jax.scipy.stats.gaussian_kde.

Returns:

hxfloat

Entropy of x (in bits)