Coder Social home page Coder Social logo

ldagibbssampling's Introduction

LDAGibbsSampling

/** Copyright (C) 2013 by SMU Text Mining Group/Singapore Management University/Peking University

LDAGibbsSampling is distributed for research purpose, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Feel free to contact the following people if you find any problems in the package. [email protected]

Updated in Oct. 10, 2016. * */

Brief Introduction

  1. This is an open source implementation for Gibbs Sampling of LDA. The data set is Newsgroup-18828, which is included in the project. You can test other data sets with it. Just import the project into Eclipse and run LdaGibbsSampling.java to start it without any configuration. The sample original documents and sample output files have been included. To download the whole Newsgroup-18828 data set, you can refer to http://qwone.com/~jason/20Newsgroups/ .

  2. The format of the output files

    lda_n.params: the hyper-parameters of the LDA model.

    lda_n.phi: a K * V matrix, which is the leant topic word distribution.

    lda_n.tassign: the topic assignments of each word in each document when there are n iterations.

    lda_n.theta: a M * K matrix, which is the learnt document topic distribution.

    lda_n.twords: the top topic words with their probabilies under each topic.

  3. The author's technical blog : http://blog.csdn.net/yangliuy

    The author's homepage:https://people.cs.umass.edu/~lyang

    For more information of LDA and Gibbs Sampling: http://blog.csdn.net/yangliuy/article/details/8302599 (a technical blog on LDA and Gibbs Sampling in Chinese.)

  4. This is an initial implementation for the Topic Expertise Model which is proposed in the following paper:

    Liu Yang, Minghui Qiu, Swapna Gottipati, Feida Zhu, Jing Jiang, Huiping Sun and Zhong Chen. CQARank: Jointly Model Topics and Expertise in Community Question Answering. In Proceedings of the 22nd ACM International Conference on Information and Knowledge Management (CIKM 2013). (http://dl.acm.org/citation.cfm?id=2505720) (http://www.mysmu.edu/faculty/fdzhu/paper/CIKM'13.pdf) (https://ink.library.smu.edu.sg/cgi/viewcontent.cgi?article=3232&context=sis_research)

    If you use this model implementation, please cite this paper.

  5. We will also release more open source code for topic models in https://github.com/yangliuy.

ldagibbssampling's People

Contributors

yangliuy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.