Item similarity in AbstractSimilarity always centers data
---------------------------------------------------------

                 Key: MAHOUT-421
                 URL: https://issues.apache.org/jira/browse/MAHOUT-421
             Project: Mahout
          Issue Type: Bug
          Components: Collaborative Filtering
            Reporter: Emerson Murphy-HIll


I'm trying to use UncenteredCosineSimilarity. When calculating similarity 
between users in AbstractSimilarity>>itemSimilarity, there's a condition to 
determine whether to center the data:

double result;
if (centerData) {
  ... get result with centering
} else {
   ... get result without
}
   
In AbstractSimilarity>>itemSimilarity, there's no conditional. It *always* 
centers the data. Shouldn't it only center the data when centerData is true?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to