|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
V
- Vector base typepublic interface CovarianceMatrixBuilder<V extends NumberVector<? extends V,?>>
Interface for computing covariance matrixes on a data set.
Method Summary | ||
---|---|---|
Matrix |
processDatabase(Relation<? extends V> database)
Compute Covariance Matrix for a complete database |
|
Matrix |
processIds(DBIDs ids,
Relation<? extends V> database)
Compute Covariance Matrix for a collection of database IDs |
|
|
processQueryResults(Collection<DistanceResultPair<D>> results,
Relation<? extends V> database)
Compute Covariance Matrix for a QueryResult Collection By default it will just collect the ids and run processIds |
|
|
processQueryResults(Collection<DistanceResultPair<D>> results,
Relation<? extends V> database,
int k)
Compute Covariance Matrix for a QueryResult Collection By default it will just collect the ids and run processIds |
Method Detail |
---|
Matrix processDatabase(Relation<? extends V> database)
database
- the database used
Matrix processIds(DBIDs ids, Relation<? extends V> database)
ids
- a collection of idsdatabase
- the database used
<D extends NumberDistance<?,?>> Matrix processQueryResults(Collection<DistanceResultPair<D>> results, Relation<? extends V> database, int k)
results
- a collection of QueryResultsdatabase
- the database usedk
- the number of entries to process
<D extends NumberDistance<?,?>> Matrix processQueryResults(Collection<DistanceResultPair<D>> results, Relation<? extends V> database)
results
- a collection of QueryResultsdatabase
- the database used
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |