mlpack
Namespaces | Functions
cf_model_impl.hpp File Reference
#include "cf_model.hpp"
#include "interpolation_policies/average_interpolation.hpp"
#include "interpolation_policies/regression_interpolation.hpp"
#include "interpolation_policies/similarity_interpolation.hpp"
#include "neighbor_search_policies/cosine_search.hpp"
#include "neighbor_search_policies/lmetric_search.hpp"
#include "neighbor_search_policies/pearson_search.hpp"
#include "decomposition_policies/batch_svd_method.hpp"
#include "decomposition_policies/bias_svd_method.hpp"
#include "decomposition_policies/nmf_method.hpp"
#include "decomposition_policies/randomized_svd_method.hpp"
#include "decomposition_policies/regularized_svd_method.hpp"
#include "decomposition_policies/svd_complete_method.hpp"
#include "decomposition_policies/svd_incomplete_method.hpp"
#include "decomposition_policies/svdplusplus_method.hpp"
#include "normalization/no_normalization.hpp"
#include "normalization/overall_mean_normalization.hpp"
#include "normalization/user_mean_normalization.hpp"
#include "normalization/item_mean_normalization.hpp"
#include "normalization/z_score_normalization.hpp"
Include dependency graph for cf_model_impl.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mlpack
 Linear algebra utility functions, generally performed on matrices or vectors.
 
 mlpack::cf
 Collaborative filtering.
 

Functions

template<typename NeighborSearchPolicy , typename CFType >
void mlpack::cf::PredictHelper (CFType &cf, const InterpolationTypes interpolationType, const arma::Mat< size_t > &combinations, arma::vec &predictions)
 
template<typename NeighborSearchPolicy , typename CFType >
void mlpack::cf::GetRecommendationsHelper (CFType &cf, const InterpolationTypes interpolationType, const size_t numRecs, arma::Mat< size_t > &recommendations, const arma::Col< size_t > &users)
 
template<typename NeighborSearchPolicy , typename CFType >
void mlpack::cf::GetRecommendationsHelper (CFType &cf, const InterpolationTypes interpolationType, const size_t numRecs, arma::Mat< size_t > &recommendations)
 
template<typename DecompositionPolicy >
CFWrapperBase * mlpack::cf::InitializeModelHelper (CFModel::NormalizationTypes normalizationType)
 
CFWrapperBase * mlpack::cf::InitializeModel (CFModel::DecompositionTypes decompositionType, CFModel::NormalizationTypes normalizationType)
 
template<typename DecompositionPolicy , typename Archive >
void mlpack::cf::SerializeHelper (Archive &ar, CFWrapperBase *cf, CFModel::NormalizationTypes normalizationType)
 

Detailed Description

Author
Wenhao Huang

A serializable CF model, used by the main program.

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.