da03 / GSDMM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GSDMM (short text topic modeling)

Usage: python test_lda.py

Note: In test_lda.py package lda is required (pip install lda). However, it is unnecessary to install it to use GSDMM.py.

Note: The X matrix can be either a count matrix, where X[document, word] denotes the word count, or a binary matrix, where X[document, word]=1/0, indicating whether a word occurs or not.

About


Languages

Language:Python 100.0%