SVDIncompletePolicy Class Reference

Implementation of the SVD incomplete incremental to act as a wrapper when accessing SVD incomplete incremental 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 incomplete incremental method. More...

 

Detailed Description

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

Definition at line 30 of file svd_incomplete_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 incomplete incremental method.

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_incomplete_method.hpp.

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


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