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... | |
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.
|
inline |
Apply Collaborative Filtering to the provided data set using the SVD complete incremental policy.
| data | Data matrix: dense matrix (coordinate lists) or sparse matrix(cleaned). |
| cleanedData | item user table in form of sparse matrix. |
| rank | Rank parameter for matrix factorization. |
| w | First matrix formed after decomposition. |
| h | Second matrix formed after decomposition. |
| maxIterations | Maximum number of iterations. |
| minResidue | Residue required to terminate. |
| mit | Whether to terminate only when maxIterations is reached. |
Definition at line 48 of file svd_complete_method.hpp.
References AMF< TerminationPolicyType, InitializationRuleType, UpdateRuleType >::Apply().