de.lmu.ifi.dbs.elki.math.linearalgebra.pca
Class KernelCovarianceMatrixBuilder<V extends RealVector<V,?>,D extends NumberDistance<D,?>>
java.lang.Object
de.lmu.ifi.dbs.elki.logging.AbstractLoggable
de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
de.lmu.ifi.dbs.elki.math.linearalgebra.pca.CovarianceMatrixBuilder<V,D>
de.lmu.ifi.dbs.elki.math.linearalgebra.pca.KernelCovarianceMatrixBuilder<V,D>
- Type Parameters:
V
- Vector class to use.
- All Implemented Interfaces:
- Parameterizable
public class KernelCovarianceMatrixBuilder<V extends RealVector<V,?>,D extends NumberDistance<D,?>>
- extends CovarianceMatrixBuilder<V,D>
Kernel Covariance Matrix Builder.
To use this, you NEED to run an appropriate prepocessor that sets AssociationID.KERNEL_MATRIX
for all objects that you are going to use.
- Author:
- Erich Schubert
Methods inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable |
addOption, addParameterizable, addParameterizable, checkGlobalParameterConstraints, collectOptions, getAttributeSettings, getParameters, rememberParametersExcept, removeOption, removeParameterizable, setParameters, shortDescription |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KernelCovarianceMatrixBuilder
public KernelCovarianceMatrixBuilder()
processIds
public Matrix processIds(Collection<Integer> ids,
Database<V> database)
- Returns the local kernel matrix of the specified ids.
- Specified by:
processIds
in class CovarianceMatrixBuilder<V extends RealVector<V,?>,D extends NumberDistance<D,?>>
- Parameters:
ids
- a collection of idsdatabase
- the database used
- Returns:
- Covariance Matrix