Interface LDAOptimizer

All Known Implementing Classes:
EMLDAOptimizer, OnlineLDAOptimizer

public interface LDAOptimizer
An LDAOptimizer specifies which optimization/learning/inference algorithm to use, and it can hold optimizer-specific parameters for users to set.
  • Method Details

    • getLDAModel

      LDAModel getLDAModel(double[] iterationTimes)
    • initialize

      LDAOptimizer initialize(RDD<scala.Tuple2<Object,Vector>> docs, LDA lda)
      Initializer for the optimizer. LDA passes the common parameters to the optimizer and the internal structure can be initialized properly.
      docs - (undocumented)
      lda - (undocumented)
    • next

      LDAOptimizer next()