NaiveKernelRule< KernelType > 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, KernelType kernel=KernelType())
 Construct the exact kernel matrix. More...


Detailed Description


class mlpack::kpca::NaiveKernelRule< KernelType >

Definition at line 22 of file naive_method.hpp.

Member Function Documentation

◆ ApplyKernelMatrix()

static void ApplyKernelMatrix ( const arma::mat &  data,
arma::mat &  transformedData,
arma::vec &  eigval,
arma::mat &  eigvec,
const size_t  ,
KernelType  kernel = KernelType() 

Construct the exact kernel matrix.

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.

Definition at line 35 of file naive_method.hpp.

The documentation for this class was generated from the following file:
  • /home/jenkins-mlpack/