Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-389

UncenteredCosineSimilarity

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.4
    • None
    • None

    Description

      org.apache.mahout.cf.taste.impl.similarity.UncenteredCosineSimilarity only computes the cosine distance between those components of the vectors where both vectors have a value greater zero.

      This is inconsistent with the definition of the cosine (correct me if I'm wrong) and is inconsistent with the distributed cosine similarity computation.

      Attachments

        1. MAHOUT-389-3.patch
          53 kB
          Sebastian Schelter
        2. MAHOUT-389-2.patch
          53 kB
          Sebastian Schelter
        3. MAHOUT-389.patch
          2 kB
          Sebastian Schelter

        Activity

          People

            srowen Sean R. Owen
            ssc Sebastian Schelter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: