/topic-model

repository to implement topic model, currently contains pLSA and LDA.

Primary LanguagePythonMIT LicenseMIT

Topic Model

Methods

This is implementation for the paper:

Probabilistic Latent Semantic Analysis

Thomas Hofmann (1999). Probabilistic latent semantic analysis Paper in ACM DL or Paper in arXiv. In UAI'99: Proceedings of the Fifteenth conference on Uncertainty in artificial intelligenceJuly 1999, pp.289–296

Latent Dirichlet Allocation

David M. Blei, Andrew Y. Ng, Michel I. Jordan (2003). Probabilistic latent semantic analysis Paper in jmlr. Journal of Machine Learning Research 3 2003, pp.993-1022

Environment Requirement

The code has been tested running under Python 3.7.9 The required packages are as follows:

  • numpy==1.20.1
  • pandas==1.2.3

...

Example to Run the Codes

Please see run_sample.ipynb.