Kernel Quantum Probability Library
The KQP library aims at providing tools for working with quantums probabilities
Data Structures | Public Member Functions
kqp::IncrementalKernelEVD< Scalar > Class Template Reference

Uses other operator builders and combine them. More...

#include <incremental.hpp>

Inheritance diagram for kqp::IncrementalKernelEVD< Scalar >:
kqp::KernelEVD< Scalar > kqp::KernelEVDBase

Data Structures

struct  Comparator

Public Member Functions

 IncrementalKernelEVD (const FSpaceCPtr &fs)
void reset ()
 Resets the state of the builder.
void setSelector (const boost::shared_ptr< const Selector< Real > > &selector)
void setPreImagesPerRank (float minimum, float maximum)
 Set constraints on the number of pre-images.
virtual void _add (Real alpha, const FMatrixCPtr &mU, const ScalarAltMatrix &mA) override
 Rank-n update.
virtual Decomposition< Scalar > _getDecomposition () const override
- 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

Detailed Description

template<typename Scalar>
class kqp::IncrementalKernelEVD< Scalar >

Uses other operator builders and combine them.

Member Function Documentation

template<typename Scalar>
virtual void kqp::IncrementalKernelEVD< Scalar >::_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 >.

template<typename Scalar>
virtual Decomposition<Scalar> kqp::IncrementalKernelEVD< Scalar >::_getDecomposition ( ) const

Get the decomposition

Implements kqp::KernelEVD< Scalar >.

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