org.apache.mahout.clustering.lda
Class LDAInference
java.lang.Object
org.apache.mahout.clustering.lda.LDAInference
public class LDAInference
- extends Object
Class for performing infererence on a document, which involves computing (an approximation to)
p(word|topic) for each word and topic, and a prior distribution p(topic) for each topic.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LDAInference
public LDAInference(LDAState state)
infer
public LDAInference.InferredDocument infer(Vector wordCounts)
- Performs inference on the given document, returning an InferredDocument.
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.