You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Remi Melisson (Commented) (JIRA)" <ji...@apache.org> on 2011/12/04 14:09:40 UTC

[jira] [Commented] (MAHOUT-902) TanimotoCoefficientSimilarity should return Double.NaN for two items that have zero overlap

    [ https://issues.apache.org/jira/browse/MAHOUT-902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13162393#comment-13162393 ] 

Remi Melisson commented on MAHOUT-902:
--------------------------------------

Hi,
Maybe, I misunderstand the description but it seems to be the case :
(line 77)
http://svn.apache.org/viewvc/mahout/trunk/core/src/main/java/org/apache/mahout/cf/taste/impl/similarity/TanimotoCoefficientSimilarity.java?view=markup

tested by :
(testNoCorrelation)
http://svn.apache.org/viewvc/mahout/trunk/core/src/test/java/org/apache/mahout/cf/taste/impl/similarity/TanimotoCoefficientSimilarityTest.java?view=markup

Correct me if I'm wrong.
                
> 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
>              Labels: MAHOUT_INTRO_CONTRIBUTE
>
> 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