|
| | OverallMeanNormalization () |
| |
| double | Denormalize (const size_t, const size_t, const double rating) const |
| | Denormalize computed rating by adding mean. More...
|
| |
| void | Denormalize (const arma::Mat< size_t > &, arma::vec &predictions) const |
| | Denormalize computed rating by adding mean. More...
|
| |
| double | Mean () const |
| | Return mean. More...
|
| |
| void | Normalize (arma::mat &data) |
| | Normalize the data by subtracting the mean of all existing ratings. More...
|
| |
| void | Normalize (arma::sp_mat &cleanedData) |
| | Normalize the data by subtracting the mean of all existing ratings. More...
|
| |
| template<typename Archive > |
| void | serialize (Archive &ar, const unsigned int) |
| | Serialization. More...
|
| |
This normalization class performs overall mean normalization on raw ratings.
An example of how to use OverallMeanNormalization in CF is shown below:
* extern arma::mat data;
*
* extern arma::Col<size_t> users;
* arma::Mat<size_t> recommendations;
*
*
* CFType<NMFPolicy, OverallMeanNormalization> cf(data);
*
*
* cf.GetRecommendations(10, recommendations);
*
Definition at line 39 of file overall_mean_normalization.hpp.