D
- Distance typeV
- Vector type@Title(value="PreDeCon Preprocessor") @Description(value="Computes the projected dimension of objects of a certain database according to the PreDeCon algorithm.\nThe variance analysis is based on epsilon range queries.") public class PreDeConSubspaceIndex<V extends NumberVector<? extends V,?>,D extends Distance<D>> extends AbstractSubspaceProjectionIndex<V,D,SubspaceProjectionResult>
Modifier and Type | Class and Description |
---|---|
static class |
PreDeConSubspaceIndex.Factory<V extends NumberVector<? extends V,?>,D extends Distance<D>>
Factory
|
Modifier and Type | Field and Description |
---|---|
protected double |
delta
The threshold for small eigenvalues.
|
private int |
kappa
The kappa value for generating the variance vector.
|
private static Logging |
logger
The logger for this class.
|
epsilon, minpts, rangeQueryDistanceFunction
storage
relation
Constructor and Description |
---|
PreDeConSubspaceIndex(Relation<V> relation,
D epsilon,
DistanceFunction<V,D> rangeQueryDistanceFunction,
int minpts,
double delta)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected SubspaceProjectionResult |
computeProjection(DBID id,
List<DistanceResultPair<D>> neighbors,
Relation<V> database)
This method implements the type of variance analysis to be computed for a
given point.
|
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.
|
getLocalProjection, preprocess
delete, deleteAll, getPageFileStatistics, insert, insertAll
private static final Logging logger
protected double delta
private final int kappa
public PreDeConSubspaceIndex(Relation<V> relation, D epsilon, DistanceFunction<V,D> rangeQueryDistanceFunction, int minpts, double delta)
relation
- Relationepsilon
- Epsilon valuerangeQueryDistanceFunction
- range query distanceminpts
- Minpts parameterdelta
- Delta valueprotected SubspaceProjectionResult computeProjection(DBID id, List<DistanceResultPair<D>> neighbors, Relation<V> database)
AbstractSubspaceProjectionIndex
computeProjection
in class AbstractSubspaceProjectionIndex<V extends NumberVector<? extends V,?>,D extends Distance<D>,SubspaceProjectionResult>
id
- the given pointneighbors
- the neighbors as query results of the given pointdatabase
- the database for which the preprocessing is performedpublic String getLongName()
Result
getLongName
in interface Result
getLongName
in class AbstractIndex<V extends NumberVector<? extends V,?>>
public String getShortName()
Result
getShortName
in interface Result
getShortName
in class AbstractIndex<V extends NumberVector<? extends V,?>>
protected Logging getLogger()
AbstractPreprocessorIndex
getLogger
in class AbstractPreprocessorIndex<V extends NumberVector<? extends V,?>,SubspaceProjectionResult>