public class SimpleMixtureModel extends AbstractTopicModel
Simple mixture model
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Modifier and Type | Field and Description |
|---|---|
protected double |
bkgCoefficient |
protected DoubleVector |
bkgModel |
arrDocTheme, arrThemeTerm, docNum, indexReader, termNum, themeNumiterations, seed, statusOut| Constructor and Description |
|---|
SimpleMixtureModel(IndexReader indexReader,
double bkgCoefficient) |
SimpleMixtureModel(IndexReader indexReader,
DoubleVector bkgModel,
double bkgCoefficient) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
estimateModel(int topicNum)
Estimate the topic models
|
boolean |
estimateModel(int[] arrDoc,
int topicNum) |
protected void |
initialize(int termNum,
int themeNum,
int docNum,
double[][] arrModel,
double[][] arrDocMembership) |
getDocNum, getDocTopics, getTermName, getTermNum, getTopic, getTopicNumgetBkgModel, getIterationNum, printStatus, setIterationNum, setRandomSeed, setStatusOutprotected DoubleVector bkgModel
protected double bkgCoefficient
public SimpleMixtureModel(IndexReader indexReader, double bkgCoefficient)
public SimpleMixtureModel(IndexReader indexReader, DoubleVector bkgModel, double bkgCoefficient)
public boolean estimateModel(int topicNum)
TopicModeltopicNum - the number of topicspublic boolean estimateModel(int[] arrDoc,
int topicNum)
protected void initialize(int termNum,
int themeNum,
int docNum,
double[][] arrModel,
double[][] arrDocMembership)
Copyright © 2018 JULIE Lab, Germany. All rights reserved.