Giter Site home page Giter Site logo

skywalker5 / hlda Goto Github PK

View Code? Open in Web Editor NEW

This project forked from blei-lab/hlda

0.0 1.0 0.0 176 KB

This implements hierarchical latent Dirichlet allocation, a topic model that finds a hierarchy of topics. The structure of the hierarchy is determined by the data.

Perl 0.82% JavaScript 51.91% C 36.75% R 0.51% Python 8.34% C++ 1.66%

hlda's Introduction

This code implements hierarchical LDA with a fixed depth tree and a stick breaking prior on the depth weights. An infinite-depth tree can be approximated by setting the depth to be very high. This code requires that you have installed the GSL package.

The input format of the data is the same as in the LDA-C package. Each line contains

[# of unique terms] [term #] : [count] ...

The settings file controls various parameters of the model. There are several settings files contained in this directory.

IMPORTANT:

I hope that this code is useful to you, but please note that this code is UNSUPPORTED. Do not email me (David Blei) with questions. I like posting as much code as possible, but I unfortunately do not have the time to support all of it. (This paragraph is my solution to the problem.)

HLDA-C is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

LDA-C is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

hlda's People

Contributors

jaanli avatar

Watchers

 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.