Mlpack::kernel::nystroemmethod kerneltype, pointselectionpolicy -
NystroemMethod (const arma::mat &data, KernelType &kernel, const size_t rank)
Create the NystroemMethod object. void Apply (arma::mat &output)
Apply the low-rank factorization to obtain an output matrix G such that K' = G * G^T. void GetKernelMatrix (const arma::mat *data, arma::mat &miniKernel, arma::mat &semiKernel)
Construct the kernel matrix with matrix that contains the selected points. void GetKernelMatrix (const arma::Col< size_t > &selectedPoints, arma::mat &miniKernel, arma::mat &semiKernel)
Construct the kernel matrix with the selected points.
const arma::mat & data
The reference dataset. KernelType & kernel
The locally stored kernel, if it is necessary. const size_t rank
Rank used for matrix approximation.
Definition at line 38 of file nystroem_method.hpp.
Create the NystroemMethod object. The constructor here does not really do anything.
Parameters:
data Data matrix.
kernel Kernel to be used for computation.
rank Rank to be used for matrix approximation.
Apply the low-rank factorization to obtain an output matrix G such that K' = G * G^T.
Parameters:
output Matrix to store kernel approximation into.
Referenced by mlpack::kpca::NystroemKernelRule< KernelType, PointSelectionPolicy >::ApplyKernelMatrix().
Construct the kernel matrix with matrix that contains the selected points.
Parameters:
data Data matrix pointer.
miniKernel to store the constructed mini-kernel matrix in.
miniKernel to store the constructed semi-kernel matrix in.
Construct the kernel matrix with the selected points.
Parameters:
points Indices of selected points.
miniKernel to store the constructed mini-kernel matrix in.
miniKernel to store the constructed semi-kernel matrix in.
The reference dataset.
Definition at line 83 of file nystroem_method.hpp.
The locally stored kernel, if it is necessary.
Definition at line 85 of file nystroem_method.hpp.
Rank used for matrix approximation.
Definition at line 87 of file nystroem_method.hpp.
Generated automatically by Doxygen for MLPACK from the source code.