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