You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Suneel Marthi (JIRA)" <ji...@apache.org> on 2013/08/07 03:32:48 UTC

[jira] [Updated] (MAHOUT-1303) GenericItemBasedRecommender.estimate(id) method confusing (line 347-349)

     [ https://issues.apache.org/jira/browse/MAHOUT-1303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suneel Marthi updated MAHOUT-1303:
----------------------------------

    Fix Version/s: 0.9
           Status: Patch Available  (was: Open)

Patch available.
                
> 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
>             Fix For: 0.9
>
>
> --------
>  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