V
- Vector class to use.public class StandardCovarianceMatrixBuilder<V extends NumberVector<?>> extends AbstractCovarianceMatrixBuilder<V>
CovarianceMatrixBuilder
Constructor and Description |
---|
StandardCovarianceMatrixBuilder() |
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.
|
processQueryResults, processQueryResults
public Matrix processDatabase(Relation<? extends V> database)
processDatabase
in interface CovarianceMatrixBuilder<V extends NumberVector<?>>
processDatabase
in class AbstractCovarianceMatrixBuilder<V extends NumberVector<?>>
database
- the database usedpublic Matrix processIds(DBIDs ids, Relation<? extends V> database)
processIds
in interface CovarianceMatrixBuilder<V extends NumberVector<?>>
processIds
in class AbstractCovarianceMatrixBuilder<V extends NumberVector<?>>
ids
- a collection of idsdatabase
- the database used