Package elki.math.linearalgebra.pca
Class PCARunner.Par
- java.lang.Object
-
- elki.math.linearalgebra.pca.PCARunner.Par
-
- All Implemented Interfaces:
Parameterizer
- Direct Known Subclasses:
AutotuningPCA.Par
- Enclosing class:
- PCARunner
public static class PCARunner.Par extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected CovarianceMatrixBuilder
covarianceMatrixBuilder
The covariance computation class.static OptionID
PCA_COVARIANCE_MATRIX
Parameter to specify the class to compute the covariance matrix, must be a subclass ofCovarianceMatrixBuilder
.static OptionID
PCARUNNER_ID
Parameter for the PCA variant to use.
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Parameterization config)
Configure the class.PCARunner
make()
Make an instance after successful configuration.
-
-
-
Field Detail
-
PCARUNNER_ID
public static final OptionID PCARUNNER_ID
Parameter for the PCA variant to use.
-
PCA_COVARIANCE_MATRIX
public static final OptionID PCA_COVARIANCE_MATRIX
Parameter to specify the class to compute the covariance matrix, must be a subclass ofCovarianceMatrixBuilder
.
-
covarianceMatrixBuilder
protected CovarianceMatrixBuilder covarianceMatrixBuilder
The covariance computation class.
-
-
Method Detail
-
configure
public void configure(Parameterization config)
Description copied from interface:Parameterizer
Configure the class.Note: the status is collected by the parameterization object, so that multiple errors may arise and be reported in one run.
- Specified by:
configure
in interfaceParameterizer
- Parameters:
config
- Parameterization
-
make
public PCARunner make()
Description copied from interface:Parameterizer
Make an instance after successful configuration.Note: your class should return the exact type, only this very broad interface should use
Object
as return type.- Specified by:
make
in interfaceParameterizer
- Returns:
- a new instance
-
-