public final class EMLDAOptimizer extends Object implements LDAOptimizer
Currently, the underlying implementation uses Expectation-Maximization (EM), implemented according to the Asuncion et al. (2009) paper referenced below.
References: - Original LDA paper (journal version): Blei, Ng, and Jordan. "Latent Dirichlet Allocation." JMLR, 2003. - This class implements their "smoothed" LDA model. - Paper which clearly explains several algorithms, including EM: Asuncion, Welling, Smyth, and Teh. "On Smoothing and Inference for Topic Models." UAI, 2009.
Constructor and Description |
---|
EMLDAOptimizer() |
Modifier and Type | Method and Description |
---|---|
boolean |
getKeepLastCheckpoint()
If using checkpointing, this indicates whether to keep the last checkpoint (vs clean up).
|
EMLDAOptimizer |
setKeepLastCheckpoint(boolean keepLastCheckpoint)
If using checkpointing, this indicates whether to keep the last checkpoint (vs clean up).
|
public boolean getKeepLastCheckpoint()
public EMLDAOptimizer setKeepLastCheckpoint(boolean keepLastCheckpoint)
Default: true
keepLastCheckpoint
- (undocumented)