SVDCompletePolicy Class Reference

Implementation of the SVD complete incremental policy to act as a wrapper when accessing SVD complete decomposition from within CFType. More...

Public Member Functions

template
<
typename
MatType
>
void Apply (const MatType &, const arma::sp_mat &cleanedData, const size_t rank, arma::mat &w, arma::mat &h, const size_t maxIterations, const double minResidue, const bool mit)
 Apply Collaborative Filtering to the provided data set using the SVD complete incremental policy. More...

 

Detailed Description

Implementation of the SVD complete incremental policy to act as a wrapper when accessing SVD complete decomposition from within CFType.

Definition at line 30 of file svd_complete_method.hpp.

Member Function Documentation

◆ Apply()

void Apply ( const MatType &  ,
const arma::sp_mat &  cleanedData,
const size_t  rank,
arma::mat &  w,
arma::mat &  h,
const size_t  maxIterations,
const double  minResidue,
const bool  mit 
)
inline

Apply Collaborative Filtering to the provided data set using the SVD complete incremental policy.

Parameters
dataData matrix: dense matrix (coordinate lists) or sparse matrix(cleaned).
cleanedDataitem user table in form of sparse matrix.
rankRank parameter for matrix factorization.
wFirst matrix formed after decomposition.
hSecond matrix formed after decomposition.
maxIterationsMaximum number of iterations.
minResidueResidue required to terminate.
mitWhether to terminate only when maxIterations is reached.

Definition at line 48 of file svd_complete_method.hpp.

References AMF< TerminationPolicyType, InitializationRuleType, UpdateRuleType >::Apply().


The documentation for this class was generated from the following file: