Hierarchical Methods of Moments

Python implementation of the algorithms described in the paper "Hierarchical Methods of Moments", by Matteo Ruffini, Guillaume Rabusseau and Borja Balle

The paper can be found here:

http://papers.nips.cc/paper/6786-hierarchical-methods-of-moments.pdf

Content of the project:

random_generators.py

A module that allows the user to generate synthetic texts distributed as a the Single Topic Model.

engines.py

A module that contains the implementation of the Hierarchical Method of Moments (Algorithms 1 and 2)

other_methods.py

A module that contains the alternative decomposition algorithms described in the paper.

test_synthetic.py

A script to reproduce the experiment at section 4.1.