Hlda
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.
Install / Use
/learn @blei-lab/HldaREADME
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.
Related Skills
node-connect
349.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.7kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
