
V - Vector typeD - Distance type@Title(value="4C Preprocessor") @Description(value="Computes the local dimensionality and locally weighted matrix of objects of a certain database according to the 4C algorithm.\nThe PCA is based on epsilon range queries.") public class FourCSubspaceIndex<V extends NumberVector<?>,D extends Distance<D>> extends AbstractSubspaceProjectionIndex<V,D,PCAFilteredResult>
| Modifier and Type | Class and Description | 
|---|---|
| static class  | FourCSubspaceIndex.Factory<V extends NumberVector<?>,D extends Distance<D>>Factory class for 4C preprocessors. | 
| Modifier and Type | Field and Description | 
|---|---|
| private static Logging | LOGOur logger | 
| private PCAFilteredRunner<V> | pcaThe Filtered PCA Runner | 
epsilon, minpts, rangeQueryDistanceFunctionstoragerelation| Constructor and Description | 
|---|
| FourCSubspaceIndex(Relation<V> relation,
                  D epsilon,
                  DistanceFunction<V,D> rangeQueryDistanceFunction,
                  int minpts,
                  PCAFilteredRunner<V> pca)Full constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected PCAFilteredResult | 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 LOG
private PCAFilteredRunner<V extends NumberVector<?>> pca
public FourCSubspaceIndex(Relation<V> relation, D epsilon, DistanceFunction<V,D> rangeQueryDistanceFunction, int minpts, PCAFilteredRunner<V> pca)
relation - Relationepsilon - Epsilon valuerangeQueryDistanceFunction - minpts - MinPts valuepca - PCA runnerprotected PCAFilteredResult computeProjection(DBIDRef id, DistanceDBIDResult<D> neighbors, Relation<V> database)
AbstractSubspaceProjectionIndexcomputeProjection in class AbstractSubspaceProjectionIndex<V extends NumberVector<?>,D extends Distance<D>,PCAFilteredResult>id - the given pointneighbors - the neighbors as query results of the given pointdatabase - the database for which the preprocessing is performedprotected Logging getLogger()
AbstractPreprocessorIndexgetLogger in class AbstractPreprocessorIndex<V extends NumberVector<?>,PCAFilteredResult>public String getLongName()
ResultgetLongName in interface ResultgetLongName in class AbstractIndex<V extends NumberVector<?>>public String getShortName()
ResultgetShortName in interface ResultgetShortName in class AbstractIndex<V extends NumberVector<?>>