2

I'm trying to use hLDA to create a topic model and then to make inferences based on that model. But as far as I've seen, the topic inferencer tool only works on LDA models, am I right? Is there a way of inferencing topics from a hLDA model?

Beto Boullosa
  • 83
  • 1
  • 5

2 Answers2

2

I found an hLDA Inferencer here from chyikwei on Github that I believe will get you there.

I've tested it and have successfully (I think) used it to score new documents.

Following the MALLET build instructions here, I rebuilt MALLET with the HierarchicalLDAInferencer.java code in src/cc/mallet/topics following chyikwei's README

ajb
  • 692
  • 6
  • 16
0

Have you tried out this?

\mallet run cc.mallet.topics.tui.HierarchicalLDATUI --input [FILENAME] --output-state [FILENAME] 

worked for me.

sibora
  • 11
  • 3