Mlpack::kpca::naivekernelrule kerneltype -
static void ApplyKernelMatrix (const arma::mat &data, arma::mat &transformedData, arma::vec &eigval, arma::mat &eigvec, const size_t, KernelType kernel=KernelType())
Construct the kernel matrix approximation using the nystroem method.
Definition at line 32 of file naive_method.hpp.
Construct the kernel matrix approximation using the nystroem method.
Parameters:
data Input data points.
transformedData Matrix to output results into.
eigval KPCA eigenvalues will be written to this vector.
eigvec KPCA eigenvectors will be written to this matrix.
rank Rank to be used for matrix approximation.
kernel Kernel to be used for computation.
Definition at line 46 of file naive_method.hpp.
Generated automatically by Doxygen for MLPACK from the source code.