Inconsistent return values of different ItemSimilarity implementations
----------------------------------------------------------------------

                 Key: MAHOUT-406
                 URL: https://issues.apache.org/jira/browse/MAHOUT-406
             Project: Mahout
          Issue Type: Bug
          Components: Collaborative Filtering
            Reporter: Sebastian Schelter


org.apache.mahout.cf.taste.impl.similarity.GenericItemSimilarity returns 
Double.NaN if you request the similarity for two itemIDs it doesn't know, while 
 org.apache.mahout.cf.taste.impl.similarity.jdbc.AbstractJDBCItemSimilarity 
throws a NoSuchItemException.

They should act consistently (and both return Double.NaN, I guess).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to