public class GibbsLDA extends AbstractTopicModel
Latent dirichlet allocation (LDA) with Gibbs sampling
Copyright: Copyright (c) 2005
Company: IST, Drexel University
arrDocTheme, arrThemeTerm, docNum, indexReader, termNum, themeNumiterations, seed, statusOut| Constructor and Description |
|---|
GibbsLDA(IndexReader indexReader,
double alpha,
double beta) |
GibbsLDA(SequenceIndexReader indexReader,
double alpha,
double beta) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
estimateModel(int topicNum)
Estimate the topic models
|
getDocNum, getDocTopics, getTermName, getTermNum, getTopic, getTopicNumgetBkgModel, getIterationNum, printStatus, setIterationNum, setRandomSeed, setStatusOutpublic GibbsLDA(SequenceIndexReader indexReader, double alpha, double beta)
public GibbsLDA(IndexReader indexReader, double alpha, double beta)
public boolean estimateModel(int topicNum)
TopicModeltopicNum - the number of topicsCopyright © 2018 JULIE Lab, Germany. All rights reserved.