You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Sebastian Schelter (JIRA)" <ji...@apache.org> on 2013/01/31 12:17:13 UTC

[jira] [Created] (MAHOUT-1144) Wrong normalization in SVD++

Sebastian Schelter created MAHOUT-1144:
------------------------------------------

             Summary: Wrong normalization in SVD++
                 Key: MAHOUT-1144
                 URL: https://issues.apache.org/jira/browse/MAHOUT-1144
             Project: Mahout
          Issue Type: Bug
          Components: Collaborative Filtering
    Affects Versions: 0.8
            Reporter: Sebastian Schelter
            Assignee: Sean Owen


Reported by Agnonchik:

Seems that I have found a discrepancy of this implementation from the original Yehuda Koren's SVD++ algorithm.

line 140:
double denominator = Math.sqrt(itemsByUser.size());
should be
double denominator = Math.sqrt(itemsByUser.get(u).size());
line 164:
double denominator = Math.sqrt(itemsByUser.size());
should be
double denominator = Math.sqrt(itemsByUser.get(u).size());


The sum of y parameters should be normalized by square root of number of items for which user u provided implicit feedback. Am I right?
Currently, it is normalized by square root of number of users not items.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira