public class LDALearner extends Object
Constructor and Description |
---|
LDALearner(int ntopics) |
Modifier and Type | Method and Description |
---|---|
double |
computeLikelihood(Document doc,
LDAVariationlState vstate)
Calculates a lower bound for the log liklihood of a document given
current parameters.
|
void |
estimate(Corpus corpus)
initiates the EM algorithm on documents in the corpus
|
<T> T |
getConfig(org.openimaj.pgm.vb.lda.mle.LDALearner.LDAConfig key) |
public LDALearner(int ntopics)
ntopics
- public <T> T getConfig(org.openimaj.pgm.vb.lda.mle.LDALearner.LDAConfig key)
key
- public void estimate(Corpus corpus)
corpus
- public double computeLikelihood(Document doc, LDAVariationlState vstate)
doc
- vstate
-