Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-9245

DistributedLDAModel predict top topic per doc-term instance

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • MLlib
    • None

    Description

      For each (document, term) pair, return top topic. Note that instances of (doc, term) pairs within a document (a.k.a. "tokens") are exchangeable, so we should provide an estimate per document-term, rather than per token.

      Synopsis for DistributedLDAModel:

      /** @return RDD of (doc ID, vector of top topic index for each term) */
      def topTopicAssignments: RDD[(Long, Vector)]
      

      Note that using Vector will let us have a sparse encoding which is Java-friendly.

      Attachments

        Issue Links

          Activity

            People

              josephkb Joseph K. Bradley
              josephkb Joseph K. Bradley
              Joseph K. Bradley Joseph K. Bradley
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 48h
                  48h
                  Remaining:
                  Remaining Estimate - 48h
                  48h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified