Infer.NET user guide : Tutorials and examples :Latent Dirichlet Allocation
TestLDA project
The LDA example code comes with a test project which shows the following:
- How call all forms of the LDA model (standard/shared and dense/sparse)
- Timing and memory estimates for the different options
- Utility to generate data for testing LDA models
- Utility to calculate Perplexity
Please refer directly to the code for further details.