public abstract class AbstractCovarianceMatrixBuilder extends Object implements CovarianceMatrixBuilder
Constructor and Description |
---|
AbstractCovarianceMatrixBuilder() |
Modifier and Type | Method and Description |
---|---|
Matrix |
processDatabase(Relation<? extends NumberVector> database)
Compute Covariance Matrix for a complete database.
|
abstract Matrix |
processIds(DBIDs ids,
Relation<? extends NumberVector> database)
Compute Covariance Matrix for a collection of database IDs.
|
Matrix |
processQueryResults(DoubleDBIDList results,
Relation<? extends NumberVector> database)
Compute Covariance Matrix for a QueryResult Collection.
|
Matrix |
processQueryResults(DoubleDBIDList results,
Relation<? extends NumberVector> database,
int k)
Compute Covariance Matrix for a QueryResult Collection.
|
public Matrix processDatabase(Relation<? extends NumberVector> database)
CovarianceMatrixBuilder
processDatabase
in interface CovarianceMatrixBuilder
database
- the database usedpublic abstract Matrix processIds(DBIDs ids, Relation<? extends NumberVector> database)
CovarianceMatrixBuilder
processIds
in interface CovarianceMatrixBuilder
ids
- a collection of idsdatabase
- the database usedpublic Matrix processQueryResults(DoubleDBIDList results, Relation<? extends NumberVector> database, int k)
CovarianceMatrixBuilder
processQueryResults
in interface CovarianceMatrixBuilder
results
- a collection of QueryResultsdatabase
- the database usedk
- the number of entries to processpublic final Matrix processQueryResults(DoubleDBIDList results, Relation<? extends NumberVector> database)
CovarianceMatrixBuilder
processQueryResults
in interface CovarianceMatrixBuilder
results
- a collection of QueryResultsdatabase
- the database usedCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.