V
- Vector base typepublic interface CovarianceMatrixBuilder<V extends NumberVector<? extends V,?>>
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<?,?>> |
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
|
<D extends NumberDistance<?,?>> |
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
|
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<?,?>> 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