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 Summary
Modifier and TypeMethodDescriptiongetLDAModel
(double[] iterationTimes) initialize
(RDD<scala.Tuple2<Object, Vector>> docs, LDA lda) Initializer for the optimizer.next()
-
Method Details
-
getLDAModel
-
initialize
Initializer for the optimizer. LDA passes the common parameters to the optimizer and the internal structure can be initialized properly.- Parameters:
docs
- (undocumented)lda
- (undocumented)- Returns:
- (undocumented)
-
next
LDAOptimizer next()
-