/ctm-c

This implements variational inference for the correlated topic model.

Primary LanguageC

Correlated topic model

This is a C implementation of the correlated topic model (CTM), a topic model for text or other discrete data that models correlation between the occurrence of different topics in a document. The CTM is fully described in Blei and Lafferty (2007). (For an implementation of a related topic model, latent Dirichlet allocation, click here.)

An example of the correlated topic model applied to a corpus of the journal Science can be found here.

Note that this code requires the Gnu Scientific Library.

Downloads

View the README.

Fork or clone this repository.

Questions, bug fixes, and updates

Please join the topic-models mailing list to ask questions about this code, be notified of updates, and to discuss the CTM and related techniques.

To join, click here.