
NV - Vector type@Title(value="Local PCA Preprocessor") @Description(value="Materializes the local PCA and the locally weighted matrix of objects of a database.") public abstract class AbstractSubspaceProjectionIndex<NV extends NumberVector<?>,D extends Distance<D>,P extends ProjectionResult> extends AbstractPreprocessorIndex<NV,P> implements SubspaceProjectionIndex<NV,P>
| Modifier and Type | Class and Description | 
|---|---|
| static class  | AbstractSubspaceProjectionIndex.Factory<NV extends NumberVector<?>,D extends Distance<D>,I extends AbstractSubspaceProjectionIndex<NV,D,?>>Factory class | 
| Modifier and Type | Field and Description | 
|---|---|
| protected D | epsilonContains the value of parameter epsilon; | 
| protected int | minptsHolds the value of parameter minpts. | 
| protected DistanceFunction<NV,D> | rangeQueryDistanceFunctionThe distance function for the variance analysis. | 
storagerelation| Constructor and Description | 
|---|
| AbstractSubspaceProjectionIndex(Relation<NV> relation,
                               D epsilon,
                               DistanceFunction<NV,D> rangeQueryDistanceFunction,
                               int minpts)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract P | computeProjection(DBIDRef id,
                 DistanceDBIDResult<D> neighbors,
                 Relation<NV> relation)This method implements the type of variance analysis to be computed for a
 given point. | 
| P | getLocalProjection(DBIDRef objid)Get the precomputed local subspace for a particular object ID. | 
| protected void | preprocess()Preprocessing step. | 
getLoggerdelete, deleteAll, getLongName, getPageFileStatistics, getShortName, insert, insertAllclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdelete, deleteAll, getPageFileStatistics, insert, insertAllgetLongName, getShortNameprotected DistanceFunction<NV extends NumberVector<?>,D extends Distance<D>> rangeQueryDistanceFunction
protected int minpts
protected void preprocess()
public P getLocalProjection(DBIDRef objid)
SubspaceProjectionIndexgetLocalProjection in interface LocalProjectionIndex<NV extends NumberVector<?>,P extends ProjectionResult>getLocalProjection in interface SubspaceProjectionIndex<NV extends NumberVector<?>,P extends ProjectionResult>objid - Object IDprotected abstract P computeProjection(DBIDRef id, DistanceDBIDResult<D> neighbors, Relation<NV> relation)
id - the given pointneighbors - the neighbors as query results of the given pointrelation - the database for which the preprocessing is performed