EuclideanSpace¶
- class compressed_kde.EuclideanSpace¶
Bases:
SpaceN-dimensional euclidean space definition.
- Parameters
labels ([strings]) – labels for dimensions
kernel (Kernel) – Gaussian, Epanechnikov or Box kernel
bandwidth (1d array) – bandwidths for default kernel
Methods Summary
grid(vectors, valid, selection)Constructs grid from vectors for select dimensions.
Methods Documentation
- grid(vectors, valid, selection) Grid¶
Constructs grid from vectors for select dimensions.
- Parameters
vectors ([ 1d arrays ]) – A list with for each dimension a list of grid points
valid (1d boolean array) – For each grid point in the n-dimensional grid if it is a valid point or not
selection ((ndim,) boolean array) – For each dimension if a grid vector is specified
- Return type