Merge pull request #1545 from Wenhao-H/master

CF: small fixes in returning normalization object
This commit is contained in:
Ryan Curtin
2018-10-25 09:19:33 -04:00
committed by GitHub
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -179,6 +179,9 @@ class CFType
//! Get the cleaned data matrix.
const arma::sp_mat& CleanedData() const { return cleanedData; }
//! Get the normalization object.
const NormalizationType& Normalization() const { return normalization; }
/**
* Generates the given number of recommendations for all users.
*
@@ -93,7 +93,7 @@ class CombinedNormalization
/**
* Return normalizations tuple.
*/
TupleType Normalizations() const
const TupleType& Normalizations() const
{
return normalizations;
}