public interface LDAOptimizer
An LDAOptimizer specifies which optimization/learning/inference algorithm to use, and it can hold optimizer-specific parameters for users to set.
Modifier and Type | Method and Description |
---|---|
LDAModel |
getLDAModel(double[] iterationTimes) |
LDAOptimizer |
initialize(RDD<scala.Tuple2<java.lang.Object,Vector>> docs,
LDA lda)
Initializer for the optimizer.
|
LDAOptimizer |
next() |
LDAOptimizer initialize(RDD<scala.Tuple2<java.lang.Object,Vector>> docs, LDA lda)
docs
- (undocumented)lda
- (undocumented)LDAOptimizer next()
LDAModel getLDAModel(double[] iterationTimes)