Functions | |
| void | fit (raft::handle_t &handle, MLCommon::Matrix::RankSizePair **rank_sizes, std::uint32_t n_parts, MLCommon::Matrix::floatData_t **input, float *components, float *singular_vals, paramsTSVDMG &prms, bool verbose=false) |
| performs MNMG fit operation for the tsvd More... | |
| void | fit (raft::handle_t &handle, MLCommon::Matrix::RankSizePair **rank_sizes, std::uint32_t n_parts, MLCommon::Matrix::doubleData_t **input, double *components, double *singular_vals, paramsTSVDMG &prms, bool verbose=false) |
| void | fit_transform (raft::handle_t &handle, std::vector< MLCommon::Matrix::Data< float > * > &input_data, MLCommon::Matrix::PartDescriptor &input_desc, std::vector< MLCommon::Matrix::Data< float > * > &trans_data, MLCommon::Matrix::PartDescriptor &trans_desc, float *components, float *explained_var, float *explained_var_ratio, float *singular_vals, paramsTSVDMG &prms, bool verbose) |
| performs MNMG fit and transform operation for the tsvd. More... | |
| void | fit_transform (raft::handle_t &handle, std::vector< MLCommon::Matrix::Data< double > * > &input_data, MLCommon::Matrix::PartDescriptor &input_desc, std::vector< MLCommon::Matrix::Data< double > * > &trans_data, MLCommon::Matrix::PartDescriptor &trans_desc, double *components, double *explained_var, double *explained_var_ratio, double *singular_vals, paramsTSVDMG &prms, bool verbose) |
| void | 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, paramsTSVDMG &prms, bool verbose) |
| performs MNMG transform operation for the tsvd. More... | |
| void | 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, paramsTSVDMG &prms, bool verbose) |
| void | 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, paramsTSVDMG &prms, bool verbose) |
| performs MNMG inverse transform operation for the output. More... | |
| void | 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, paramsTSVDMG &prms, bool verbose) |
| void ML::TSVD::opg::fit | ( | raft::handle_t & | handle, |
| MLCommon::Matrix::RankSizePair ** | rank_sizes, | ||
| std::uint32_t | n_parts, | ||
| MLCommon::Matrix::doubleData_t ** | input, | ||
| double * | components, | ||
| double * | singular_vals, | ||
| paramsTSVDMG & | prms, | ||
| bool | verbose = false |
||
| ) |
| void ML::TSVD::opg::fit | ( | raft::handle_t & | handle, |
| MLCommon::Matrix::RankSizePair ** | rank_sizes, | ||
| std::uint32_t | n_parts, | ||
| MLCommon::Matrix::floatData_t ** | input, | ||
| float * | components, | ||
| float * | singular_vals, | ||
| paramsTSVDMG & | prms, | ||
| bool | verbose = false |
||
| ) |
performs MNMG fit operation for the tsvd
| [in] | handle | the internal cuml handle object |
| [in] | rank_sizes | includes all the partition size information for the rank |
| [in] | n_parts | number of partitions |
| [in] | input | input data |
| [out] | components | principal components of the input data |
| [out] | singular_vals | singular values of the data |
| [in] | prms | data structure that includes all the parameters from input size to algorithm |
| [in] | verbose |
| void ML::TSVD::opg::fit_transform | ( | raft::handle_t & | handle, |
| std::vector< MLCommon::Matrix::Data< double > * > & | input_data, | ||
| MLCommon::Matrix::PartDescriptor & | input_desc, | ||
| std::vector< MLCommon::Matrix::Data< double > * > & | trans_data, | ||
| MLCommon::Matrix::PartDescriptor & | trans_desc, | ||
| double * | components, | ||
| double * | explained_var, | ||
| double * | explained_var_ratio, | ||
| double * | singular_vals, | ||
| paramsTSVDMG & | prms, | ||
| bool | verbose | ||
| ) |
| void ML::TSVD::opg::fit_transform | ( | raft::handle_t & | handle, |
| std::vector< MLCommon::Matrix::Data< float > * > & | input_data, | ||
| MLCommon::Matrix::PartDescriptor & | input_desc, | ||
| std::vector< MLCommon::Matrix::Data< float > * > & | trans_data, | ||
| MLCommon::Matrix::PartDescriptor & | trans_desc, | ||
| float * | components, | ||
| float * | explained_var, | ||
| float * | explained_var_ratio, | ||
| float * | singular_vals, | ||
| paramsTSVDMG & | prms, | ||
| bool | verbose | ||
| ) |
performs MNMG fit and transform operation for the tsvd.
| [in] | handle | the internal cuml handle object |
| [in] | input_data | input data |
| [in] | input_desc | input descriptor for data |
| [out] | trans_data | transformed input data |
| [out] | trans_desc | transformed input data descriptor |
| [out] | components | principal components of the input data |
| [out] | explained_var | explained var |
| [out] | explained_var_ratio | the explained var ratio |
| [out] | singular_vals | singular values of the data |
| [in] | prms | data structure that includes all the parameters from input size to algorithm |
| [in] | verbose |
| void ML::TSVD::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, | ||
| paramsTSVDMG & | prms, | ||
| bool | verbose | ||
| ) |
| void ML::TSVD::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, | ||
| paramsTSVDMG & | prms, | ||
| bool | verbose | ||
| ) |
performs MNMG inverse transform operation for the output.
| [in] | handle | the internal cuml handle object |
| [in] | rank_sizes | includes all the partition size information for the rank |
| [in] | n_parts | number of partitions |
| [in] | trans_input | transformed input data |
| [in] | components | principal components of the input data |
| [out] | input | input data |
| [in] | prms | data structure that includes all the parameters from input size to algorithm |
| [in] | verbose |
| void ML::TSVD::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, | ||
| paramsTSVDMG & | prms, | ||
| bool | verbose | ||
| ) |
| void ML::TSVD::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, | ||
| paramsTSVDMG & | prms, | ||
| bool | verbose | ||
| ) |
performs MNMG transform operation for the tsvd.
| [in] | handle | the internal cuml handle object |
| [in] | rank_sizes | includes all the partition size information for the rank |
| [in] | n_parts | number of partitions |
| [in] | input | input data |
| [in] | components | principal components of the input data |
| [out] | trans_input | transformed input data |
| [in] | prms | data structure that includes all the parameters from input size to algorithm |
| [in] | verbose |