Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.math.linearalgebra.pca
Class LimitEigenPairFilter

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.logging.AbstractLoggable
      extended by de.lmu.ifi.dbs.elki.math.linearalgebra.pca.LimitEigenPairFilter
All Implemented Interfaces:
EigenPairFilter, Parameterizable

@Title(value="Limit-based Eigenpair Filter")
@Description(value="Filters all eigenpairs, which are lower than a given value.")
public class LimitEigenPairFilter
extends AbstractLoggable
implements EigenPairFilter, Parameterizable

The LimitEigenPairFilter marks all eigenpairs having an (absolute) eigenvalue below the specified threshold (relative or absolute) as weak eigenpairs, the others are marked as strong eigenpairs.

Author:
Elke Achtert

Field Summary
private  boolean absolute
          Indicates whether delta is an absolute or a relative value.
private  Flag ABSOLUTE_FLAG
          "absolute" Flag
static double DEFAULT_DELTA
          The default value for delta.
private  double delta
          Threshold for strong eigenpairs, can be absolute or relative.
private  DoubleParameter DELTA_PARAM
          Parameter delta
static OptionID EIGENPAIR_FILTER_ABSOLUTE
          OptionID for ABSOLUTE_FLAG
static OptionID EIGENPAIR_FILTER_DELTA
          OptionID for DELTA_PARAM
 
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debug, logger
 
Constructor Summary
LimitEigenPairFilter(Parameterization config)
          Constructor, adhering to Parameterizable
 
Method Summary
 FilteredEigenPairs filter(SortedEigenPairs eigenPairs)
          Filters the specified eigenpairs into strong and weak eigenpairs, where strong eigenpairs having high variances and weak eigenpairs having small variances.
 
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debugFine, debugFiner, debugFinest, exception, progress, verbose, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EIGENPAIR_FILTER_ABSOLUTE

public static final OptionID EIGENPAIR_FILTER_ABSOLUTE
OptionID for ABSOLUTE_FLAG


EIGENPAIR_FILTER_DELTA

public static final OptionID EIGENPAIR_FILTER_DELTA
OptionID for DELTA_PARAM


ABSOLUTE_FLAG

private final Flag ABSOLUTE_FLAG
"absolute" Flag


DEFAULT_DELTA

public static final double DEFAULT_DELTA
The default value for delta.

See Also:
Constant Field Values

DELTA_PARAM

private final DoubleParameter DELTA_PARAM
Parameter delta


delta

private double delta
Threshold for strong eigenpairs, can be absolute or relative.


absolute

private boolean absolute
Indicates whether delta is an absolute or a relative value.

Constructor Detail

LimitEigenPairFilter

public LimitEigenPairFilter(Parameterization config)
Constructor, adhering to Parameterizable

Parameters:
config - Parameterization
Method Detail

filter

public FilteredEigenPairs filter(SortedEigenPairs eigenPairs)
Description copied from interface: EigenPairFilter
Filters the specified eigenpairs into strong and weak eigenpairs, where strong eigenpairs having high variances and weak eigenpairs having small variances.

Specified by:
filter in interface EigenPairFilter
Parameters:
eigenPairs - the eigenPairs (i.e. the eigenvectors and
Returns:
the filtered eigenpairs

Release 0.3 (2010-03-31_1612)