Domanda

I am looking for any tutorial or implementation of PLSA in java. There is a similar question in this link https://stackoverflow.com/questions/16396463/probabilistic-latent-semantic-analysis-indexing-in-java , however, there is no reply to this query swell. I have watched a talk on PLSA by Thomas Hoffman, however I can't seem to get my head around the implementation. Any help would be appreciated.

È stato utile?

Soluzione

Well according to wikipedia:

P(w,d) = \sum_c P(c) P(d|c) P(w|c) = P(d) \sum_c P(c|d) P(w|c) 

That is the formula you need to implement.

Further, the EM algorithm is what you need. If you don't understand the algorithm or the function you cannot successfully be a consumer of it.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top