mlpack
Static Public Member Functions | List of all members
mlpack::kpca::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...
 

Member Function Documentation

◆ ApplyKernelMatrix()

template<typename KernelType >
static void mlpack::kpca::NaiveKernelRule< KernelType >::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.
*(rank) Rank to be used for matrix approximation.
kernelKernel to be used for computation.

The documentation for this class was generated from the following file: