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

Reply via email to