|
mlpack
master
|
Public Member Functions | |
| NystroemMethod (const arma::mat &data, KernelType &kernel, const size_t rank) | |
| Create the NystroemMethod object. More... | |
| void | Apply (arma::mat &output) |
| Apply the low-rank factorization to obtain an output matrix G such that K' = G * G^T. More... | |
| void | GetKernelMatrix (const arma::mat *data, arma::mat &miniKernel, arma::mat &semiKernel) |
| Construct the kernel matrix with matrix that contains the selected points. More... | |
| void | GetKernelMatrix (const arma::Col< size_t > &selectedPoints, arma::mat &miniKernel, arma::mat &semiKernel) |
| Construct the kernel matrix with the selected points. More... | |
Private Attributes | |
| const arma::mat & | data |
| The reference dataset. More... | |
| KernelType & | kernel |
| The locally stored kernel, if it is necessary. More... | |
| const size_t | rank |
| Rank used for matrix approximation. More... | |
Definition at line 28 of file nystroem_method.hpp.
| mlpack::kernel::NystroemMethod< KernelType, PointSelectionPolicy >::NystroemMethod | ( | const arma::mat & | data, |
| KernelType & | kernel, | ||
| const size_t | rank | ||
| ) |
Create the NystroemMethod object.
The constructor here does not really do anything.
| data | Data matrix. |
| kernel | Kernel to be used for computation. |
| rank | Rank to be used for matrix approximation. |
| void mlpack::kernel::NystroemMethod< KernelType, PointSelectionPolicy >::Apply | ( | arma::mat & | output | ) |
Apply the low-rank factorization to obtain an output matrix G such that K' = G * G^T.
| output | Matrix to store kernel approximation into. |
Referenced by mlpack::kpca::NystroemKernelRule< KernelType, PointSelectionPolicy >::ApplyKernelMatrix().
| void mlpack::kernel::NystroemMethod< KernelType, PointSelectionPolicy >::GetKernelMatrix | ( | const arma::mat * | data, |
| arma::mat & | miniKernel, | ||
| arma::mat & | semiKernel | ||
| ) |
Construct the kernel matrix with matrix that contains the selected points.
| data | Data matrix pointer. |
| miniKernel | to store the constructed mini-kernel matrix in. |
| miniKernel | to store the constructed semi-kernel matrix in. |
| void mlpack::kernel::NystroemMethod< KernelType, PointSelectionPolicy >::GetKernelMatrix | ( | const arma::Col< size_t > & | selectedPoints, |
| arma::mat & | miniKernel, | ||
| arma::mat & | semiKernel | ||
| ) |
Construct the kernel matrix with the selected points.
| points | Indices of selected points. |
| miniKernel | to store the constructed mini-kernel matrix in. |
| miniKernel | to store the constructed semi-kernel matrix in. |
|
private |
The reference dataset.
Definition at line 73 of file nystroem_method.hpp.
|
private |
The locally stored kernel, if it is necessary.
Definition at line 75 of file nystroem_method.hpp.
|
private |
Rank used for matrix approximation.
Definition at line 77 of file nystroem_method.hpp.
1.8.11