|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.index.AbstractIndex<O>
de.lmu.ifi.dbs.elki.index.preprocessed.AbstractPreprocessorIndex<NV,PCAFilteredResult>
de.lmu.ifi.dbs.elki.index.preprocessed.localpca.AbstractFilteredPCAIndex<NV>
de.lmu.ifi.dbs.elki.index.preprocessed.localpca.KNNQueryFilteredPCAIndex<NV>
NV - Vector type@Title(value="Knn Query Based Local PCA Preprocessor") @Description(value="Materializes the local PCA and the locally weighted matrix of objects of a database. The PCA is based on k nearest neighbor queries.") public class KNNQueryFilteredPCAIndex<NV extends NumberVector<? extends NV,?>>

Provides the local neighborhood to be considered in the PCA as the k nearest neighbors of an object.
| Nested Class Summary | |
|---|---|
static class |
KNNQueryFilteredPCAIndex.Factory<V extends NumberVector<V,?>>
Factory class |
| Field Summary | |
|---|---|
private int |
k
Query k |
private KNNQuery<NV,DoubleDistance> |
knnQuery
The kNN query instance we use |
private static Logging |
logger
Logger. |
| Fields inherited from class de.lmu.ifi.dbs.elki.index.preprocessed.localpca.AbstractFilteredPCAIndex |
|---|
pca |
| Fields inherited from class de.lmu.ifi.dbs.elki.index.preprocessed.AbstractPreprocessorIndex |
|---|
storage |
| Fields inherited from class de.lmu.ifi.dbs.elki.index.AbstractIndex |
|---|
relation |
| Constructor Summary | |
|---|---|
KNNQueryFilteredPCAIndex(Relation<NV> database,
PCAFilteredRunner<NV> pca,
KNNQuery<NV,DoubleDistance> knnQuery,
int k)
Constructor. |
|
| Method Summary | |
|---|---|
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. |
protected List<DistanceResultPair<DoubleDistance>> |
objectsForPCA(DBID id)
Returns the objects to be considered within the PCA for the specified query object. |
| Methods inherited from class de.lmu.ifi.dbs.elki.index.preprocessed.localpca.AbstractFilteredPCAIndex |
|---|
getLocalProjection, preprocess |
| Methods inherited from class de.lmu.ifi.dbs.elki.index.AbstractIndex |
|---|
delete, deleteAll, getPageFileStatistics, insert, insertAll |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.lmu.ifi.dbs.elki.index.Index |
|---|
delete, deleteAll, getPageFileStatistics, insert, insertAll |
| Field Detail |
|---|
private static final Logging logger
private final KNNQuery<NV extends NumberVector<? extends NV,?>,DoubleDistance> knnQuery
private final int k
| Constructor Detail |
|---|
public KNNQueryFilteredPCAIndex(Relation<NV> database,
PCAFilteredRunner<NV> pca,
KNNQuery<NV,DoubleDistance> knnQuery,
int k)
database - Database to usepca - PCA Runner to useknnQuery - KNN Query to usek - k value| Method Detail |
|---|
protected List<DistanceResultPair<DoubleDistance>> objectsForPCA(DBID id)
AbstractFilteredPCAIndex
objectsForPCA in class AbstractFilteredPCAIndex<NV extends NumberVector<? extends NV,?>>id - the id of the query object for which a PCA should be performed
public String getLongName()
Result
getLongName in interface ResultgetLongName in class AbstractIndex<NV extends NumberVector<? extends NV,?>>public String getShortName()
Result
getShortName in interface ResultgetShortName in class AbstractIndex<NV extends NumberVector<? extends NV,?>>public Logging getLogger()
AbstractPreprocessorIndex
getLogger in class AbstractPreprocessorIndex<NV extends NumberVector<? extends NV,?>,PCAFilteredResult>
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||