ExactSVDPolicy Class Reference

Implementation of the exact SVD policy. More...

Public Member Functions

void Apply (const arma::mat &data, const arma::mat &centeredData, arma::mat &transformedData, arma::vec &eigVal, arma::mat &eigvec, const size_t)
 Apply Principal Component Analysis to the provided data set using the exact SVD method. More...

 

Detailed Description

Implementation of the exact SVD policy.

Definition at line 27 of file exact_svd_method.hpp.

Member Function Documentation

◆ Apply()

void Apply ( const arma::mat &  data,
const arma::mat &  centeredData,
arma::mat &  transformedData,
arma::vec &  eigVal,
arma::mat &  eigvec,
const size_t   
)
inline

Apply Principal Component Analysis to the provided data set using the exact SVD method.

Parameters
dataData matrix.
centeredDataCentered data matrix.
transformedDataMatrix to put results of PCA into.
eigValVector to put eigenvalues into.
eigvecMatrix to put eigenvectors (loadings) into.
*(rank) Rank of the decomposition.

Definition at line 41 of file exact_svd_method.hpp.


The documentation for this class was generated from the following file:
  • /home/ryan/src/mlpack.org/_src/mlpack-git/src/mlpack/methods/pca/decomposition_policies/exact_svd_method.hpp