mlpack  2.2.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
NystroemKernelRule< KernelType, PointSelectionPolicy > Class Template Reference

Static Public Member Functions

static void ApplyKernelMatrix (const arma::mat &data, arma::mat &transformedData, arma::vec &eigval, arma::mat &eigvec, const size_t rank, KernelType kernel=KernelType())
 Construct the kernel matrix approximation using the nystroem method. More...
 

Detailed Description

template<typename KernelType, typename PointSelectionPolicy = kernel::KMeansSelection<>>
class mlpack::kpca::NystroemKernelRule< KernelType, PointSelectionPolicy >

Definition at line 27 of file nystroem_method.hpp.

Member Function Documentation

static void ApplyKernelMatrix ( const arma::mat &  data,
arma::mat &  transformedData,
arma::vec &  eigval,
arma::mat &  eigvec,
const size_t  rank,
KernelType  kernel = KernelType() 
)
inlinestatic

Construct the kernel matrix approximation using the nystroem method.

Parameters
dataInput data points.
transformedDataMatrix to output results into.
eigvalKPCA eigenvalues will be written to this vector.
eigvecKPCA eigenvectors will be written to this matrix.
rankRank to be used for matrix approximation.
kernelKernel to be used for computation.

Definition at line 40 of file nystroem_method.hpp.

References NystroemMethod< KernelType, PointSelectionPolicy >::Apply(), and mlpack::math::Center().


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