|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.clustering.lda.LDAInference
public class LDAInference
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.
Nested Class Summary | |
---|---|
static class |
LDAInference.InferredDocument
An estimate of the probabilitys for each document. |
Constructor Summary | |
---|---|
LDAInference(LDAState state)
|
Method Summary | |
---|---|
LDAInference.InferredDocument |
infer(Vector wordCounts)
Performs inference on the given document, returning an InferredDocument. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LDAInference(LDAState state)
Method Detail |
---|
public LDAInference.InferredDocument infer(Vector wordCounts)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |