Namespaces | Functions
pca_mg.hpp File Reference
#include "pca.hpp"
#include <cumlprims/opg/matrix/data.hpp>
#include <cumlprims/opg/matrix/part_descriptor.hpp>
Include dependency graph for pca_mg.hpp:

Go to the source code of this file.

Namespaces

 ML
 
 ML::PCA
 
 ML::PCA::opg
 

Functions

void ML::PCA::opg::fit (raft::handle_t &handle, std::vector< MLCommon::Matrix::Data< float > * > &input_data, MLCommon::Matrix::PartDescriptor &input_desc, float *components, float *explained_var, float *explained_var_ratio, float *singular_vals, float *mu, float *noise_vars, paramsPCAMG prms, bool verbose=false)
 performs MNMG fit operation for the pca More...
 
void ML::PCA::opg::fit (raft::handle_t &handle, std::vector< MLCommon::Matrix::Data< double > * > &input_data, MLCommon::Matrix::PartDescriptor &input_desc, double *components, double *explained_var, double *explained_var_ratio, double *singular_vals, double *mu, double *noise_vars, paramsPCAMG prms, bool verbose=false)
 
void ML::PCA::opg::fit_transform (raft::handle_t &handle, MLCommon::Matrix::RankSizePair **rank_sizes, std::uint32_t n_parts, MLCommon::Matrix::floatData_t **input, MLCommon::Matrix::floatData_t **trans_input, float *components, float *explained_var, float *explained_var_ratio, float *singular_vals, float *mu, float *noise_vars, paramsPCAMG prms, bool verbose)
 performs MNMG fit and transform operation for the pca More...
 
void ML::PCA::opg::fit_transform (raft::handle_t &handle, MLCommon::Matrix::RankSizePair **rank_sizes, std::uint32_t n_parts, MLCommon::Matrix::doubleData_t **input, MLCommon::Matrix::doubleData_t **trans_input, double *components, double *explained_var, double *explained_var_ratio, double *singular_vals, double *mu, double *noise_vars, paramsPCAMG prms, bool verbose)
 
void ML::PCA::opg::transform (raft::handle_t &handle, MLCommon::Matrix::RankSizePair **rank_sizes, std::uint32_t n_parts, MLCommon::Matrix::Data< float > **input, float *components, MLCommon::Matrix::Data< float > **trans_input, float *singular_vals, float *mu, paramsPCAMG prms, bool verbose)
 performs MNMG transform operation for the pca More...
 
void ML::PCA::opg::transform (raft::handle_t &handle, MLCommon::Matrix::RankSizePair **rank_sizes, std::uint32_t n_parts, MLCommon::Matrix::Data< double > **input, double *components, MLCommon::Matrix::Data< double > **trans_input, double *singular_vals, double *mu, paramsPCAMG prms, bool verbose)
 
void ML::PCA::opg::inverse_transform (raft::handle_t &handle, MLCommon::Matrix::RankSizePair **rank_sizes, std::uint32_t n_parts, MLCommon::Matrix::Data< float > **trans_input, float *components, MLCommon::Matrix::Data< float > **input, float *singular_vals, float *mu, paramsPCAMG prms, bool verbose)
 performs MNMG inverse transform operation for the pca More...
 
void ML::PCA::opg::inverse_transform (raft::handle_t &handle, MLCommon::Matrix::RankSizePair **rank_sizes, std::uint32_t n_parts, MLCommon::Matrix::Data< double > **trans_input, double *components, MLCommon::Matrix::Data< double > **input, double *singular_vals, double *mu, paramsPCAMG prms, bool verbose)