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... | |
Definition at line 27 of file nystroem_method.hpp.
|
inlinestatic |
Construct the kernel matrix approximation using the nystroem method.
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 40 of file nystroem_method.hpp.
References NystroemMethod< KernelType, PointSelectionPolicy >::Apply(), mlpack::math::Center(), and Log::Fatal.