1
$\begingroup$

Are there any packages there any LDA packages out there that allow you to specify the full asymmetric prior? I know Mallet uses asymmetric priors, but I don't believe it allows you to specify them.

$\endgroup$
1
$\begingroup$

The gensim topic modelling toolbox in python seems to support asymmetric priors. This documentation says:

alpha can be set to an explicit array = prior of your choice. It also support special values of ‘asymmetric’ and ‘auto’: the former uses a fixed normalized asymmetric 1.0/topicno prior, the latter learns an asymmetric prior directly from your data.

Hope that helps!

| cite | improve this answer | |
$\endgroup$
  • $\begingroup$ Definitely helpful! I'd prefer a package that uses Gibbs sampling, but this might be my best bet. $\endgroup$ – elplatt Mar 18 '17 at 21:47
  • $\begingroup$ I know that the Matlab topic modelling toolbox uses Gibbs sampling, but does not support asymmetric priors readily. It should not be too difficult to modify their original code to use asymmetric priors. $\endgroup$ – kedarps Mar 18 '17 at 21:55

Not the answer you're looking for? Browse other questions tagged or ask your own question.