Thanks to visit codestin.com
Credit goes to github.com

Skip to content
forked from lda-project/lda

Supervised Topic modeling with Discriminative Latent Dirichlet Allocation using Collapsed Gibbs sampling

License

Notifications You must be signed in to change notification settings

teffland/disclda

 
 

Repository files navigation

This fork is intended to extend lda to a form of disclda.

It amounts to a simple matrix manipulation of the topic vector for a document for that is based on the label of a document

In DIscLDA, each document has a label $y_d$ and there is a stochastic matrix $T^y$ associated with each label.

Where in vanilla LDA you draw the word topics $z_{d,i} ~ Cat(theta_d)$, in DiscLDA you draw $z_{d,i} ~ Cat(T^{y_d}theta_d)$

About

Supervised Topic modeling with Discriminative Latent Dirichlet Allocation using Collapsed Gibbs sampling

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 61.0%
  • Python 28.0%
  • PowerShell 4.9%
  • C 3.1%
  • Batchfile 2.3%
  • Shell 0.6%
  • Makefile 0.1%