17 #ifndef __MLPACK_METHODS_NYSTROEM_METHOD_NYSTROEM_METHOD_HPP
18 #define __MLPACK_METHODS_NYSTROEM_METHOD_NYSTROEM_METHOD_HPP
28 typename PointSelectionPolicy = KMeansSelection<>
49 void Apply(arma::mat& output);
59 arma::mat& miniKernel,
60 arma::mat& semiKernel);
70 arma::mat& miniKernel,
71 arma::mat& semiKernel);
86 #include "nystroem_method_impl.hpp"
Linear algebra utility functions, generally performed on matrices or vectors.
const size_t rank
Rank used for matrix approximation.
void Apply(arma::mat &output)
Apply the low-rank factorization to obtain an output matrix G such that K' = G * G^T.
Include all of the base components required to write MLPACK methods, and the main MLPACK Doxygen docu...
KernelType & kernel
The locally stored kernel, if it is necessary.
const arma::mat & data
The reference dataset.
NystroemMethod(const arma::mat &data, KernelType &kernel, const size_t rank)
Create the NystroemMethod object.
void GetKernelMatrix(const arma::mat *data, arma::mat &miniKernel, arma::mat &semiKernel)
Construct the kernel matrix with matrix that contains the selected points.