Kernel Quantum Probability Library
The KQP library aims at providing tools for working with quantums probabilities
Public Member Functions | Protected Member Functions
kqp::AccumulatorKernelEVD< Scalar, false > Class Template Reference
Inheritance diagram for kqp::AccumulatorKernelEVD< Scalar, false >:
kqp::KernelEVD< Scalar > kqp::KernelEVDBase

Public Member Functions

 AccumulatorKernelEVD (const FSpaceCPtr &fs)
- Public Member Functions inherited from kqp::KernelEVD< Scalar >
 KernelEVD (const FSpaceCPtr &featureSpace)
virtual void add (Real alpha, const FMatrixCPtr &mX, const ScalarAltMatrix &mA)
 Rank-n update.
void add (const FMatrixCPtr &mU)
 Rank-n update.
Decomposition< Scalar > getDecomposition () const
Index getUpdateCount () const
 Return the number of updates.
const FSpaceCPtr & getFSpace () const

Protected Member Functions

virtual void _add (Real alpha, const FMatrixCPtr &mX, const ScalarAltMatrix &mA) override
 Rank-n update.
void reset ()
 Resets the state of the builder.
virtual Decomposition< Scalar > _getDecomposition () const override
 Actually performs the computation.

Member Function Documentation

template<typename Scalar >
virtual void kqp::AccumulatorKernelEVD< Scalar, false >::_add ( Real  alpha,
const FMatrixCPtr &  mU,
const ScalarAltMatrix &  mA 

Rank-n update.

Updates the current decomposition to \(A^\prime \approx A + \alpha X A A^T X^\top\)

alphaThe coefficient for the update
mXThe feature matrix X with n feature vectors.
mAThe mixture matrix (of dimensions n x k).

Implements kqp::KernelEVD< Scalar >.

The documentation for this class was generated from the following file: