
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, rangeQueryDistanceFunctionstoragerelation| 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(DBIDRef id,
DistanceDBIDResult<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, preprocessdelete, deleteAll, getPageFileStatistics, insert, insertAllprivate 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(DBIDRef id, DistanceDBIDResult<D> neighbors, Relation<V> database)
AbstractSubspaceProjectionIndexcomputeProjection 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()
ResultgetLongName in interface ResultgetLongName in class AbstractIndex<V extends NumberVector<? extends V,?>>public String getShortName()
ResultgetShortName in interface ResultgetShortName in class AbstractIndex<V extends NumberVector<? extends V,?>>protected Logging getLogger()
AbstractPreprocessorIndexgetLogger in class AbstractPreprocessorIndex<V extends NumberVector<? extends V,?>,SubspaceProjectionResult>