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


template
<
typename
KernelType
>

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() 
)
inlinestatic

Construct the exact kernel matrix.

Parameters
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/mlpack.org/_src/mlpack-3.2.1/src/mlpack/methods/kernel_pca/kernel_rules/naive_method.hpp