[
https://issues.apache.org/jira/browse/MAHOUT-902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13162992#comment-13162992
]
Sebastian Schelter commented on MAHOUT-902:
-------------------------------------------
We must not change the distributed code. In the distributed case, 0 is
equivalent to non-existent and will already be ignored by iterateNonZero().
> TanimotoCoefficientSimilarity should return Double.NaN for two items that
> have zero overlap
> -------------------------------------------------------------------------------------------
>
> Key: MAHOUT-902
> URL: https://issues.apache.org/jira/browse/MAHOUT-902
> Project: Mahout
> Issue Type: Improvement
> Components: Collaborative Filtering
> Affects Versions: 0.6
> Reporter: Sebastian Schelter
> Assignee: Sean Owen
> Labels: MAHOUT_INTRO_CONTRIBUTE
> Fix For: 0.6
>
> Attachments: MAHOUT-902.patch
>
>
> org.apache.mahout.cf.taste.impl.similarity.TanimotoCoefficientSimilarity
> should return Double.NaN for two items that have zero overlap. Please also
> provide a unit-test for this.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira