ensmallen
mlpack
fast, flexible C++ machine learning library
NoNormalization Class Reference

This normalization class doesn't perform any normalization. More...

Public Member Functions

 NoNormalization ()
 
double Denormalize (const size_t, const size_t, const double rating) const
 Do nothing. More...

 
void Denormalize (const arma::Mat< size_t > &, const arma::vec &) const
 Do nothing. More...

 
template
<
typename
MatType
>
void Normalize (const MatType &) const
 Do nothing. More...

 
template
<
typename
Archive
>
void serialize (Archive &, const unsigned int)
 Serialization. More...

 

Detailed Description

This normalization class doesn't perform any normalization.

It is the default normalization type for CF class.

Definition at line 25 of file no_normalization.hpp.

Constructor & Destructor Documentation

◆ NoNormalization()

NoNormalization ( )
inline

Definition at line 29 of file no_normalization.hpp.

Member Function Documentation

◆ Denormalize() [1/2]

double Denormalize ( const size_t  ,
const size_t  ,
const double  rating 
) const
inline

Do nothing.

Parameters
userUser ID.
itemItem ID.
ratingComputed rating before denormalization.

Definition at line 46 of file no_normalization.hpp.

◆ Denormalize() [2/2]

void Denormalize ( const arma::Mat< size_t > &  ,
const arma::vec &   
) const
inline

Do nothing.

Parameters
combinationsUser/Item combinations.
predictionsPredicted ratings for each user/item combination.

Definition at line 59 of file no_normalization.hpp.

◆ Normalize()

void Normalize ( const MatType &  ) const
inline

Do nothing.

Parameters
dataInput dataset.

Definition at line 37 of file no_normalization.hpp.

◆ serialize()

void serialize ( Archive &  ,
const unsigned  int 
)
inline

Serialization.

Definition at line 67 of file no_normalization.hpp.


The documentation for this class was generated from the following file:
  • /home/ryan/src/mlpack.org/_src/mlpack-git/src/mlpack/methods/cf/normalization/no_normalization.hpp