RecommendationVisitor uses the CFType object to get recommendations for the given users. More...

Public Member Functions | |
| RecommendationVisitor (const size_t numRecs, arma::Mat< size_t > &recommendations, const arma::Col< size_t > &users, const bool usersGiven) | |
| Visitor constructor. More... | |
template < typename DecompositionPolicy , typename NormalizationType = NoNormalization > | |
| void | operator() (CFType< DecompositionPolicy, NormalizationType > *c) const |
| Generates the given number of recommendations. More... | |
RecommendationVisitor uses the CFType object to get recommendations for the given users.
Definition at line 93 of file cf_model.hpp.
| RecommendationVisitor | ( | const size_t | numRecs, |
| arma::Mat< size_t > & | recommendations, | ||
| const arma::Col< size_t > & | users, | ||
| const bool | usersGiven | ||
| ) |
Visitor constructor.
| void operator() | ( | CFType< DecompositionPolicy, NormalizationType > * | c | ) | const |
Generates the given number of recommendations.