mlpack
Static Public Member Functions | List of all members
mlpack::kpca::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...
 

Member Function Documentation

◆ ApplyKernelMatrix()

template<typename KernelType , typename PointSelectionPolicy = kernel::KMeansSelection<>>
static void mlpack::kpca::NystroemKernelRule< KernelType, PointSelectionPolicy >::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.

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