org.knowceans.corpus
Class VisCorpus

java.lang.Object
  extended by org.knowceans.corpus.VisCorpus

public class VisCorpus
extends java.lang.Object


Constructor Summary
VisCorpus()
           
 
Method Summary
static NumCorpus generateLdaCorpus(int K, int M, int Nm)
          this generates a corpus with M documents and Nm words each, using 2K topics and defining the topic distributions as rows and columns of a K^2 term matrix.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisCorpus

public VisCorpus()
Method Detail

generateLdaCorpus

public static NumCorpus generateLdaCorpus(int K,
                                          int M,
                                          int Nm)
this generates a corpus with M documents and Nm words each, using 2K topics and defining the topic distributions as rows and columns of a K^2 term matrix. This re-enacts the synthesised data set in Griffiths and Steyvers (2004).

Parameters:
M -
Nm -
Returns: