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
@flaviotruzzi
flaviotruzzi / .vimrc
Last active December 31, 2015 06:19
" Sample .vimrc file by Martin Brochhaus
" Presented at PyCon APAC 2012
" ============================================
" Note to myself:
" DO NOT USE <C-z> FOR SAVING WHEN PRESENTING!
" ============================================