public static class LatentDirichletAllocationVectorGibbsSampler.Result extends AbstractCloneableSerializable
Modifier and Type  Field and Description 

protected double[][] 
documentTopicProbabilities
The documenttopic probabilities, which are often called the theta
model parameters.

protected double[][] 
topicTermProbabilities
The topicterm probabilities, which are the often called the phi model
parameters.

protected int 
totalOccurrences
The total number for term occurrences

Constructor and Description 

Result(int topicCount,
int documentCount,
int termCount,
int totalOccurrences)
Creates a new
Result . 
Modifier and Type  Method and Description 

int 
getDocumentCount()
Gets the number of documents in the dataset.

double[][] 
getDocumentTopicProbabilities()
Gets the topicterm probabilities, which are the often called the phi
model parameters.

int 
getTermCount()
Gets the number of terms in the dataset.

int 
getTopicCount()
Gets the number of topics (k) created by the topic model.

double[][] 
getTopicTermProbabilities()
Gets the documenttopic probabilities, which are often called the
theta model parameters.

int 
getTotalOccurrences()
Gets the total number of term occurrences

void 
setDocumentTopicProbabilities(double[][] documentTopicProbabilities)
Sets the topicterm probabilities, which are the often called the phi
model parameters.

void 
setTopicTermProbabilities(double[][] topicTermProbabilities)
Sets the documenttopic probabilities, which are often called the
theta model parameters.

clone
protected double[][] topicTermProbabilities
protected double[][] documentTopicProbabilities
protected int totalOccurrences
public Result(int topicCount, int documentCount, int termCount, int totalOccurrences)
Result
.topicCount
 The number of topics.documentCount
 The number of documents.termCount
 The number of terms.totalOccurrences
 The number of term occurrences.public int getTopicCount()
public int getDocumentCount()
public int getTermCount()
public int getTotalOccurrences()
public double[][] getDocumentTopicProbabilities()
public void setDocumentTopicProbabilities(double[][] documentTopicProbabilities)
documentTopicProbabilities
 The topicterm probabilities.public double[][] getTopicTermProbabilities()
public void setTopicTermProbabilities(double[][] topicTermProbabilities)
topicTermProbabilities
 The documenttopic probabilities.