V
- Vector base typepublic interface CovarianceMatrixBuilder<V extends NumberVector<?>>
Modifier and Type | Method and Description |
---|---|
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.
|
<D extends NumberDistance<D,?>> |
processQueryResults(DistanceDBIDList<D> results,
Relation<? extends V> database)
Compute Covariance Matrix for a QueryResult Collection.
|
<D extends NumberDistance<D,?>> |
processQueryResults(DistanceDBIDList<D> results,
Relation<? extends V> database,
int k)
Compute Covariance Matrix for a QueryResult Collection.
|
Matrix processDatabase(Relation<? extends V> database)
database
- the database usedMatrix processIds(DBIDs ids, Relation<? extends V> database)
ids
- a collection of idsdatabase
- the database used<D extends NumberDistance<D,?>> Matrix processQueryResults(DistanceDBIDList<D> results, Relation<? extends V> database, int k)
D
- distance typeresults
- a collection of QueryResultsdatabase
- the database usedk
- the number of entries to process<D extends NumberDistance<D,?>> Matrix processQueryResults(DistanceDBIDList<D> results, Relation<? extends V> database)
D
- distance typeresults
- a collection of QueryResultsdatabase
- the database used