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.
Download the README .
Download the code: ctm-c.tgz .
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 .