

PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: NESTED  FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 
java.lang.Object gov.sandia.cognition.util.AbstractCloneableSerializable gov.sandia.cognition.text.topic.LatentDirichletAllocationVectorGibbsSampler.Result
public static class LatentDirichletAllocationVectorGibbsSampler.Result
Represents the result of performing Latent Dirichlet Allocation.
Field Summary  

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. 
Constructor Summary  

LatentDirichletAllocationVectorGibbsSampler.Result(int topicCount,
int documentCount,
int termCount)
Creates a new Result . 
Method Summary  

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. 
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. 
Methods inherited from class gov.sandia.cognition.util.AbstractCloneableSerializable 

clone 
Methods inherited from class java.lang.Object 

equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
Field Detail 

protected double[][] topicTermProbabilities
protected double[][] documentTopicProbabilities
Constructor Detail 

public LatentDirichletAllocationVectorGibbsSampler.Result(int topicCount, int documentCount, int termCount)
Result
.
topicCount
 The number of topics.documentCount
 The number of documents.termCount
 The number of terms.Method Detail 

public int getTopicCount()
public int getDocumentCount()
public int getTermCount()
public double[][] getDocumentTopicProbabilities()
public void setDocumentTopicProbabilities(double[][] documentTopicProbabilities)
documentTopicProbabilities
 The topicterm probabilities.public double[][] getTopicTermProbabilities()
public void setTopicTermProbabilities(double[][] topicTermProbabilities)
topicTermProbabilities
 The documenttopic probabilities.


PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: NESTED  FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 