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

Avoid creating duplicate ids in OnlineLDAOptimizer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.0.0
    • MLlib
    • None

    Description

      In OnlineLDAOptimizer's submitMiniBatch method, we create a list of ids val ids: List[Int] before calling variationalTopicInference, which then creates a duplicate set of ids. variationalTopicInference should reuse the same set.

      Attachments

        Issue Links

          Activity

            People

              pravingadakh Pravin Gadakh
              josephkb Joseph K. Bradley
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: