|
| 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...
|
|
template<typename KernelType, typename PointSelectionPolicy = KMeansSelection<>>
class mlpack::kernel::NystroemMethod< KernelType, PointSelectionPolicy >
Definition at line 28 of file nystroem_method.hpp.
◆ NystroemMethod()
NystroemMethod |
( |
const arma::mat & |
data, |
|
|
KernelType & |
kernel, |
|
|
const size_t |
rank |
|
) |
| |
Create the NystroemMethod object.
The constructor here does not really do anything.
- Parameters
-
data | Data matrix. |
kernel | Kernel to be used for computation. |
rank | Rank to be used for matrix approximation. |
◆ Apply()
void Apply |
( |
arma::mat & |
output | ) |
|
◆ GetKernelMatrix() [1/2]
void GetKernelMatrix |
( |
const arma::mat * |
data, |
|
|
arma::mat & |
miniKernel, |
|
|
arma::mat & |
semiKernel |
|
) |
| |
Construct the kernel matrix with matrix that contains the selected points.
- Parameters
-
data | Data matrix pointer. |
miniKernel | to store the constructed mini-kernel matrix in. |
semiKernel | to store the constructed semi-kernel matrix in. |
◆ GetKernelMatrix() [2/2]
void GetKernelMatrix |
( |
const arma::Col< size_t > & |
selectedPoints, |
|
|
arma::mat & |
miniKernel, |
|
|
arma::mat & |
semiKernel |
|
) |
| |
Construct the kernel matrix with the selected points.
- Parameters
-
selectedPoints | Indices of selected points. |
miniKernel | to store the constructed mini-kernel matrix in. |
semiKernel | to store the constructed semi-kernel matrix in. |
The documentation for this class was generated from the following file:
- /home/ryan/src/mlpack.org/_src/mlpack-git/src/mlpack/methods/nystroem_method/nystroem_method.hpp