public interface CovarianceMatrixBuilder
Modifier and Type | Method and Description |
---|---|
double[][] |
processIds(DBIDs ids,
Relation<? extends NumberVector> database)
Compute Covariance Matrix for a collection of database IDs.
|
default double[][] |
processQueryResults(DoubleDBIDList results,
Relation<? extends NumberVector> database)
Compute Covariance Matrix for a QueryResult Collection.
|
default double[][] |
processQueryResults(DoubleDBIDList results,
Relation<? extends NumberVector> database,
int k)
Compute Covariance Matrix for a QueryResult Collection.
|
default double[][] |
processRelation(Relation<? extends NumberVector> relation)
Compute Covariance Matrix for a complete relation.
|
default double[][] processRelation(Relation<? extends NumberVector> relation)
relation
- the relation to run ondouble[][] processIds(DBIDs ids, Relation<? extends NumberVector> database)
ids
- a collection of idsdatabase
- the database useddefault double[][] processQueryResults(DoubleDBIDList results, Relation<? extends NumberVector> database, int k)
results
- a collection of QueryResultsdatabase
- the database usedk
- the number of entries to processdefault double[][] processQueryResults(DoubleDBIDList results, Relation<? extends NumberVector> database)
results
- a collection of QueryResultsdatabase
- the database usedCopyright © 2019 ELKI Development Team. License information.