Skip to content

Instantly share code, notes, and snippets.

View hohyon-ryu's full-sized avatar

Will Hohyon Ryu hohyon-ryu

View GitHub Profile
@hohyon-ryu
hohyon-ryu / lda_gibbs.py
Created September 11, 2011 01:35 — forked from mblondel/lda_gibbs.py
Latent Dirichlet Allocation with Gibbs sampler
"""
(C) Mathieu Blondel - 2010
Implementation of the collapsed Gibbs sampler for
Latent Dirichlet Allocation, as described in
Finding scientifc topics (Griffiths and Steyvers)
"""
import numpy as np