OnlineLDAOptimizer

An online optimizer for LDA. The Optimizer implements the Online variational Bayes LDA
algorithm, which processes a subset of the corpus on each iteration, and updates the term-topic
distribution adaptively.

Mini-batch fraction in (0, 1], which sets the fraction of document sampled and used in
each iteration.

Mini-batch fraction in (0, 1], which sets the fraction of document sampled and used in
each iteration.

Annotations

@Since("1.4.0")

Note

This should be adjusted in synch with LDA.setMaxIterations()
so the entire corpus is used. Specifically, set both so that
maxIterations * miniBatchFraction is at least 1.
Default: 0.05, i.e., 5% of total documents.