
V - Vector typepublic static class NaiveProjectedKNNPreprocessor.Factory<V extends NumberVector> extends Object implements IndexFactory<V,NaiveProjectedKNNPreprocessor<V>>
| Modifier and Type | Class and Description |
|---|---|
static class |
NaiveProjectedKNNPreprocessor.Factory.Parameterizer
Parameterization class.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) RandomProjectionFamily |
proj
Random projection family to use.
|
(package private) int |
projections
Number of projections to use.
|
(package private) RandomFactory |
random
Random number generator.
|
(package private) double |
window
Curve window size
|
| Constructor and Description |
|---|
NaiveProjectedKNNPreprocessor.Factory(double window,
int projections,
RandomProjectionFamily proj,
RandomFactory random)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TypeInformation |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
|
NaiveProjectedKNNPreprocessor<V> |
instantiate(Relation<V> relation)
Sets the database in the distance function of this index (if existing).
|
double window
int projections
RandomProjectionFamily proj
RandomFactory random
public NaiveProjectedKNNPreprocessor.Factory(double window,
int projections,
RandomProjectionFamily proj,
RandomFactory random)
window - Window multiplicator.projections - Number of projections to use.proj - Projection family to use.random - Random number generator.public NaiveProjectedKNNPreprocessor<V> instantiate(Relation<V> relation)
IndexFactoryinstantiate in interface IndexFactory<V extends NumberVector,NaiveProjectedKNNPreprocessor<V extends NumberVector>>relation - the relation to indexpublic TypeInformation getInputTypeRestriction()
IndexFactorygetInputTypeRestriction in interface IndexFactory<V extends NumberVector,NaiveProjectedKNNPreprocessor<V extends NumberVector>>Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.