@Reference(authors="E. Schubert, A. Zimek, H.-P. Kriegel", title="Fast and Scalable Outlier Detection with Approximate Nearest Neighbor Ensembles", booktitle="Proc. 20th International Conference on Database Systems for Advanced Applications (DASFAA)", url="http://dx.doi.org/10.1007/978-3-319-18123-3_2") public class SpacefillingMaterializeKNNPreprocessor<O extends NumberVector> extends AbstractMaterializeKNNPreprocessor<O>
SpacefillingKNNPreprocessor
.
Reference:
E. Schubert, A. Zimek, H.-P. Kriegel
Fast and Scalable Outlier Detection with Approximate Nearest Neighbor
Ensembles
Proc. 20th International Conference on Database Systems for Advanced
Applications (DASFAA), Hanoi, Vietnam, 2015.
Modifier and Type | Class and Description |
---|---|
static class |
SpacefillingMaterializeKNNPreprocessor.Factory<V extends NumberVector>
Index factory class
|
Modifier and Type | Field and Description |
---|---|
(package private) List<SpatialSorter> |
curvegen
Spatial curve generators
|
private static Logging |
LOG
Class logger
|
(package private) Mean |
mean
Mean number of distance computations
|
(package private) Random |
random
Random number generator.
|
(package private) int |
variants
Number of variants to generate for each curve
|
(package private) double |
window
Curve window size
|
distanceFunction, distanceQuery, k
storage
relation
Constructor and Description |
---|
SpacefillingMaterializeKNNPreprocessor(Relation<O> relation,
DistanceFunction<? super O> distanceFunction,
int k,
List<SpatialSorter> curvegen,
double window,
int variants,
Random random)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
KNNQuery<O> |
getKNNQuery(DistanceQuery<O> distQ,
Object... hints)
Get a KNN query object for the given distance query and k.
|
protected Logging |
getLogger()
Get the classes static logger.
|
String |
getLongName()
A "pretty" name for the result, for use in titles, captions and menus.
|
String |
getShortName()
A short name for the result, useful for file names.
|
void |
logStatistics()
Send statistics to the logger, if enabled.
|
protected void |
preprocess()
Perform the preprocessing step.
|
createStorage, get, getDistanceQuery, getK, initialize
private static final Logging LOG
final List<SpatialSorter> curvegen
final double window
final int variants
Mean mean
Random random
public SpacefillingMaterializeKNNPreprocessor(Relation<O> relation, DistanceFunction<? super O> distanceFunction, int k, List<SpatialSorter> curvegen, double window, int variants, Random random)
relation
- Relation to index.distanceFunction
- Distance functionk
- kcurvegen
- Curve generatorswindow
- Window multiplicatorvariants
- Number of curve variants to generaterandom
- Random number generatorprotected void preprocess()
AbstractMaterializeKNNPreprocessor
preprocess
in class AbstractMaterializeKNNPreprocessor<O extends NumberVector>
public String getLongName()
Result
getLongName
in interface Result
getLongName
in class AbstractIndex<O extends NumberVector>
public String getShortName()
Result
getShortName
in interface Result
getShortName
in class AbstractIndex<O extends NumberVector>
public void logStatistics()
Index
protected Logging getLogger()
AbstractPreprocessorIndex
getLogger
in class AbstractPreprocessorIndex<O extends NumberVector,KNNList>
public KNNQuery<O> getKNNQuery(DistanceQuery<O> distQ, Object... hints)
KNNIndex
getKNNQuery
in interface KNNIndex<O extends NumberVector>
getKNNQuery
in class AbstractMaterializeKNNPreprocessor<O extends NumberVector>
distQ
- Distance queryhints
- Hints for the optimizernull
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.