mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chsz wu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAHOUT-1303) GenericItemBasedRecommender.estimate(id) method confusing (line 347-349)
Date Tue, 06 Aug 2013 23:09:49 GMT
chsz wu created MAHOUT-1303:
-------------------------------

             Summary: GenericItemBasedRecommender.estimate(id) method  confusing (line 347-349)
                 Key: MAHOUT-1303
                 URL: https://issues.apache.org/jira/browse/MAHOUT-1303
             Project: Mahout
          Issue Type: Bug
          Components: Collaborative Filtering
    Affects Versions: 0.9
            Reporter: chsz wu
            Assignee: Sean Owen
            Priority: Minor



--------
 if (excludeItemIfNotSimilarToAll || !Double.isNaN(estimate)) {  -- line 347

          average.addDatum(estimate);

        }

-----

line 347 seems logic confusing, 

if excludeItemIfNotSimilarToAll == true, -> always add data into average, doesn't matter
what the data is , Nan ???


--
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

Mime
View raw message