|
| 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...
|
|
◆ NystroemMethod()
template<typename KernelType , typename PointSelectionPolicy >
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()
template<typename KernelType , typename PointSelectionPolicy >
Apply the low-rank factorization to obtain an output matrix G such that K' = G * G^T.
- Parameters
-
output | Matrix to store kernel approximation into. |
◆ GetKernelMatrix() [1/2]
template<typename KernelType , typename PointSelectionPolicy >
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.
- 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]
template<typename KernelType , typename PointSelectionPolicy >
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.
- 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 files: