protected class OUTRES.KernelDensityEstimator extends Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
dim
Dimensionality of data set
|
(package private) double[] |
epsilons
Epsilon values for different subspace dimensionalities
|
(package private) double |
hopttwo
Optimal bandwidth for a dimensionality of 2
|
(package private) KernelDensityFunction |
kernel
Actual kernel in use
|
(package private) Relation<V> |
relation
Relation to retrieve data from
|
Constructor and Description |
---|
KernelDensityEstimator(Relation<V> relation)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected double |
adjustedEps(int dim)
Rescale the query radius based on the given dimensionality.
|
protected double |
optimalBandwidth(int dim)
Compute optimal kernel bandwidth
|
protected double |
subspaceDensity(long[] subspace,
DoubleDBIDList neighbors)
Compute density in the given subspace.
|
final KernelDensityFunction kernel
final Relation<V extends NumberVector> relation
final double[] epsilons
final double hopttwo
final int dim
protected double subspaceDensity(long[] subspace, DoubleDBIDList neighbors)
subspace
- Subspaceneighbors
- Neighbor distance listprotected double optimalBandwidth(int dim)
dim
- Dimensionality of subspaceprotected double adjustedEps(int dim)
dim
- DimensionalityCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.