blei-lab / lda-c Goto Github PK
View Code? Open in Web Editor NEWThis is a C implementation of variational EM for latent Dirichlet allocation (LDA), a topic model for text or other discrete data.
License: GNU Lesser General Public License v2.1
This is a C implementation of variational EM for latent Dirichlet allocation (LDA), a topic model for text or other discrete data.
License: GNU Lesser General Public License v2.1
Is there a diffrence between the method you mentioned in your paper 《Latent Dirichlet Allocation》and the code?
Mainly in the proccess "E-M" step.
In the paper you used variational "inference" , but in the code you used something about "sufficient statistics"?
Hi,
I am trying to estimate the perplexity on a test set (unseen set of documents). After the inference step on the test set, I see the likelihood file has large negative numbers (e.g. -1800). What are these numbers exactly. If these are log likelihood estimates, should we compute the perplexity by just taking the exponent of average of these values.
Looking forward for an answer.
Thanks,
Jagdeep
Hi,I am a newer to use lda-c and i couldn't find the function 'lgamma', and i think if this function is 'log_gamma'. thank you!
I would like to reproduce the the results in https://github.com/Blei-Lab/lda-c/blob/master/example/ap-topics.pdf however I don't know what settings.txt alpha and seedings were used. Can you please help?
I'm a beginer of LDA. pls tell me how to use this lda command.
usage : lda est [initial alpha] [k] [settings] [data] [random/seeded/*] [directory]
lda inf [settings] [model] [data] [name]
in my mind. this is a tool to get the topic words of an article.
so if I have handreds of articles by hand(like 0000.txt-1000.txt). how can I use lda to get the topic words of an article?
many people coding python
it would be very kind of you to share this code in python
thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.