Skip to content

Instantly share code, notes, and snippets.

View andyyuan78's full-sized avatar

Andy Yuan andyyuan78

  • Nortel->Ericssion->Cisco->Startup
View GitHub Profile
@mblondel
mblondel / lda_gibbs.py
Last active October 9, 2023 11:31
Latent Dirichlet Allocation with Gibbs sampler
"""
(C) Mathieu Blondel - 2010
License: BSD 3 clause
Implementation of the collapsed Gibbs sampler for
Latent Dirichlet Allocation, as described in
Finding scientifc topics (Griffiths and Steyvers)
"""