org.apache.mahout.clustering.lda
Class LDAState

java.lang.Object
  extended by org.apache.mahout.clustering.lda.LDAState

public class LDAState
extends java.lang.Object


Field Summary
 double logLikelihood
           
 int numTopics
           
 int numWords
           
 double topicSmoothing
           
 
Constructor Summary
LDAState(int numTopics, int numWords, double topicSmoothing, Matrix topicWordProbabilities, double[] logTotals, double ll)
           
 
Method Summary
 double logProbWordGivenTopic(int word, int topic)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numTopics

public final int numTopics

numWords

public final int numWords

topicSmoothing

public final double topicSmoothing

logLikelihood

public final double logLikelihood
Constructor Detail

LDAState

public LDAState(int numTopics,
                int numWords,
                double topicSmoothing,
                Matrix topicWordProbabilities,
                double[] logTotals,
                double ll)
Method Detail

logProbWordGivenTopic

public double logProbWordGivenTopic(int word,
                                    int topic)


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.