|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cc.mallet.topics.LDA
public class LDA
Latent Dirichlet Allocation.
Constructor Summary | |
---|---|
LDA(int numberOfTopics)
Deprecated. |
|
LDA(int numberOfTopics,
double alphaSum,
double beta)
Deprecated. |
Method Summary | |
---|---|
void |
addDocuments(InstanceList additionalDocuments,
int numIterations,
int showTopicsInterval,
int outputModelInterval,
java.lang.String outputModelFilename,
Randoms r)
Deprecated. |
void |
estimate(InstanceList documents,
int numIterations,
int showTopicsInterval,
int outputModelInterval,
java.lang.String outputModelFilename,
Randoms r)
Deprecated. |
void |
estimate(int docIndexStart,
int docIndexLength,
int numIterations,
int showTopicsInterval,
int outputModelInterval,
java.lang.String outputModelFilename,
Randoms r)
Deprecated. |
int[][] |
getDocTopicCounts()
Deprecated. |
InstanceList |
getInstanceList()
Deprecated. |
int[] |
getTokensPerTopic()
Deprecated. |
int[][] |
getTypeTopicCounts()
Deprecated. |
static void |
main(java.lang.String[] args)
Deprecated. |
void |
printDocumentTopics(java.io.File f)
Deprecated. |
void |
printDocumentTopics(java.io.PrintWriter pw)
Deprecated. |
void |
printDocumentTopics(java.io.PrintWriter pw,
double threshold,
int max)
Deprecated. |
void |
printState(java.io.File f)
Deprecated. |
void |
printState(java.io.PrintWriter pw)
Deprecated. |
void |
printTopWords(int numWords,
boolean useNewLines)
Deprecated. |
void |
sampleTopicsForAllDocs(Randoms r)
Deprecated. |
void |
sampleTopicsForDocs(int start,
int length,
Randoms r)
Deprecated. |
void |
write(java.io.File f)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LDA(int numberOfTopics)
public LDA(int numberOfTopics, double alphaSum, double beta)
Method Detail |
---|
public void estimate(InstanceList documents, int numIterations, int showTopicsInterval, int outputModelInterval, java.lang.String outputModelFilename, Randoms r)
public void addDocuments(InstanceList additionalDocuments, int numIterations, int showTopicsInterval, int outputModelInterval, java.lang.String outputModelFilename, Randoms r)
public void estimate(int docIndexStart, int docIndexLength, int numIterations, int showTopicsInterval, int outputModelInterval, java.lang.String outputModelFilename, Randoms r)
public void sampleTopicsForAllDocs(Randoms r)
public void sampleTopicsForDocs(int start, int length, Randoms r)
public int[][] getDocTopicCounts()
public int[][] getTypeTopicCounts()
public int[] getTokensPerTopic()
public void printTopWords(int numWords, boolean useNewLines)
public void printDocumentTopics(java.io.File f) throws java.io.IOException
java.io.IOException
public void printDocumentTopics(java.io.PrintWriter pw)
public void printDocumentTopics(java.io.PrintWriter pw, double threshold, int max)
public void printState(java.io.File f) throws java.io.IOException
java.io.IOException
public void printState(java.io.PrintWriter pw)
public void write(java.io.File f)
public InstanceList getInstanceList()
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |