org.apache.mahout.clustering.lda
Class LDAState
java.lang.Object
org.apache.mahout.clustering.lda.LDAState
public class LDAState
- extends java.lang.Object
Constructor Summary |
LDAState(int numTopics,
int numWords,
double topicSmoothing,
Matrix topicWordProbabilities,
double[] logTotals,
double ll)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
numTopics
public final int numTopics
numWords
public final int numWords
topicSmoothing
public final double topicSmoothing
logLikelihood
public final double logLikelihood
LDAState
public LDAState(int numTopics,
int numWords,
double topicSmoothing,
Matrix topicWordProbabilities,
double[] logTotals,
double ll)
logProbWordGivenTopic
public double logProbWordGivenTopic(int word,
int topic)
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.