0

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.

Community
  • 1
  • 1
Abhishek Dewan
  • 129
  • 1
  • 2
  • 5

1 Answers1

0

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.

Woot4Moo
  • 22,887
  • 13
  • 86
  • 143