Package elki.math.linearalgebra.pca
Class StandardCovarianceMatrixBuilder
- java.lang.Object
-
- elki.math.linearalgebra.pca.StandardCovarianceMatrixBuilder
-
- All Implemented Interfaces:
CovarianceMatrixBuilder
public class StandardCovarianceMatrixBuilder extends java.lang.Object implements CovarianceMatrixBuilder
Class for building a "traditional" covariance matrix viaCovarianceMatrix
. Reasonable default choice for aCovarianceMatrixBuilder
- Since:
- 0.2
- Author:
- Erich Schubert
-
-
Constructor Summary
Constructors Constructor Description StandardCovarianceMatrixBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[][]
processIds(DBIDs ids, Relation<? extends NumberVector> database)
Compute Covariance Matrix for a collection of database IDs.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.math.linearalgebra.pca.CovarianceMatrixBuilder
processQueryResults, processQueryResults, processRelation
-
-
-
-
Method Detail
-
processIds
public double[][] processIds(DBIDs ids, Relation<? extends NumberVector> database)
Compute Covariance Matrix for a collection of database IDs.- Specified by:
processIds
in interfaceCovarianceMatrixBuilder
- Parameters:
ids
- a collection of idsdatabase
- the database used- Returns:
- Covariance Matrix
-
-