
protected class OUTRES.KernelDensityEstimator extends Object
| Modifier and Type | Field and Description | 
|---|---|
| (package private) int | dimDimensionality of data set | 
| (package private) double[] | epsilonsEpsilon values for different subspace dimensionalities | 
| (package private) double | hopttwoOptimal bandwidth for a dimensionality of 2 | 
| (package private) KernelDensityFunction | kernelActual kernel in use | 
| (package private) Relation<V> | relationRelation to retrieve data from | 
| Constructor and Description | 
|---|
| OUTRES.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(BitSet subspace,
               DoubleDistanceDBIDList 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(BitSet subspace, DoubleDistanceDBIDList neighbors)
subspace - Subspaceneighbors - Neighbor distance listprotected double optimalBandwidth(int dim)
dim - Dimensionality of subspaceprotected double adjustedEps(int dim)
dim - Dimensionality