uk.ac.gla.dcs.renaissance.kqpr
Class IncrementalKernelEVD<T extends KernelVector>

java.lang.Object
  extended by uk.ac.gla.dcs.renaissance.kqpr.IncrementalKernelEVD<T>
All Implemented Interfaces:
KernelEVD<T>

public class IncrementalKernelEVD<T extends KernelVector>
extends Object
implements KernelEVD<T>

Implementation of the kernel EVD. The product of an EVD can be used by to build a density or a subspace.

Author:
B. Piwowarski

Constructor Summary
IncrementalKernelEVD(KernelVectorList<T> vectors)
          Creates a new incremental EVD
 
Method Summary
 void add(double alpha, T u)
          Add a new vector to the decomposition, i.e.
 bpiwowar.maths.matrix.DiagonalDoubleMatrix getEigenValues()
           
 KernelVectorList<T> getX()
          Get the list of vectors
 bpiwowar.maths.matrix.DenseDoubleMatrix2D getY()
           
 bpiwowar.maths.matrix.DenseDoubleMatrix2D getZ()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IncrementalKernelEVD

public IncrementalKernelEVD(KernelVectorList<T> vectors)
Creates a new incremental EVD

Parameters:
vectors - An empty kernel vector list
Method Detail

getX

public KernelVectorList<T> getX()
Description copied from interface: KernelEVD
Get the list of vectors

Specified by:
getX in interface KernelEVD<T extends KernelVector>
Returns:

getY

public bpiwowar.maths.matrix.DenseDoubleMatrix2D getY()
Specified by:
getY in interface KernelEVD<T extends KernelVector>

getZ

public bpiwowar.maths.matrix.DenseDoubleMatrix2D getZ()
Specified by:
getZ in interface KernelEVD<T extends KernelVector>

getEigenValues

public bpiwowar.maths.matrix.DiagonalDoubleMatrix getEigenValues()
Specified by:
getEigenValues in interface KernelEVD<T extends KernelVector>

add

public void add(double alpha,
                T u)
Description copied from interface: KernelEVD
Add a new vector to the decomposition, i.e. A = A + alpha v v^T

Specified by:
add in interface KernelEVD<T extends KernelVector>
Parameters:
alpha - The coefficient for the update
u - The vector v


Copyright © 2011. All Rights Reserved.