public abstract class AbstractTwoDimensionModel extends AbstractModel implements TwoDimensionModel
Abstract class of two dimensional topic model
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Modifier and Type | Field and Description |
|---|---|
protected double[][] |
arrCommonThemeProb |
protected double[][][] |
arrDocTheme |
protected double[][] |
arrDocView |
protected double[][][] |
arrThemeProb |
protected double[][] |
arrViewProb |
protected int |
docNum |
protected int |
themeNum |
protected int |
themeTermNum |
protected IndexReader |
topicIndexReader |
protected IndexReader |
viewIndexReader |
protected int |
viewNum |
protected int |
viewTermNum |
iterations, seed, statusOut| Constructor and Description |
|---|
AbstractTwoDimensionModel(IndexReader viewIndexReader,
IndexReader topicIndexReader) |
| Modifier and Type | Method and Description |
|---|---|
double[] |
getCommonTopic(int topicIndex) |
int |
getDocNum() |
double[] |
getDocTopics(int docIndex,
int viewIndex) |
double[] |
getDocViews(int docIndex) |
int |
getTopicNum() |
String |
getTopicTermName(int termIndex) |
int |
getTopicTermNum() |
double[] |
getView(int viewIndex) |
int |
getViewNum() |
String |
getViewTermName(int termIndex) |
int |
getViewTermNum() |
double[] |
getViewTopic(int viewIndex,
int topicIndex) |
getBkgModel, getIterationNum, printStatus, setIterationNum, setRandomSeed, setStatusOutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitestimateModelprotected IndexReader viewIndexReader
protected IndexReader topicIndexReader
protected int docNum
protected int viewNum
protected int themeNum
protected int viewTermNum
protected int themeTermNum
protected double[][] arrViewProb
protected double[][] arrDocView
protected double[][][] arrThemeProb
protected double[][][] arrDocTheme
protected double[][] arrCommonThemeProb
public AbstractTwoDimensionModel(IndexReader viewIndexReader, IndexReader topicIndexReader)
public int getViewNum()
getViewNum in interface TwoDimensionModelpublic int getTopicNum()
getTopicNum in interface TwoDimensionModelpublic double[] getView(int viewIndex)
getView in interface TwoDimensionModelpublic double[] getCommonTopic(int topicIndex)
getCommonTopic in interface TwoDimensionModelpublic double[] getViewTopic(int viewIndex,
int topicIndex)
getViewTopic in interface TwoDimensionModelpublic int getDocNum()
getDocNum in interface TwoDimensionModelpublic double[] getDocViews(int docIndex)
getDocViews in interface TwoDimensionModelpublic double[] getDocTopics(int docIndex,
int viewIndex)
getDocTopics in interface TwoDimensionModelpublic int getViewTermNum()
getViewTermNum in interface TwoDimensionModelpublic int getTopicTermNum()
getTopicTermNum in interface TwoDimensionModelpublic String getViewTermName(int termIndex)
getViewTermName in interface TwoDimensionModelpublic String getTopicTermName(int termIndex)
getTopicTermName in interface TwoDimensionModelCopyright © 2018 JULIE Lab, Germany. All rights reserved.