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

InMemoryCollapsedVariationalBayes0 to load input vectors with docIDs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.8
    • 0.8
    • classic

    Description

      Based upon our conversation with Jake in the user-list, I have modified the o.a.m.clustering.lda.cvb.InMemoryCollapsedVariationalBayes0.loadVectors so that it does not ignore document ids in input. To preserve backwards compatibility, it behaves as it did earlier if a ClassCastException is thrown; which occurs when ids are not integers, and/or the document vector (or getDelegate() if it is a NamedVector) cannot be cast to a RandomAccessSparseVector.

      Attachments

        1. MAHOUT-1051.patch
          2 kB
          Jake Mannix
        2. MAHOUT-1051.patch
          3 kB
          Gokhan Capan

        Activity

          People

            jake.mannix Jake Mannix
            gokhancapan Gokhan Capan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: