Skip to content

Instantly share code, notes, and snippets.

View flaviotruzzi's full-sized avatar

Flavio Sales Truzzi flaviotruzzi

View GitHub Profile
"""
(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