问题描述
我正在尝试使用hLDA创建主题模型,然后基于该模型进行推断.但是据我所知,主题推理器工具仅适用于LDA模型,对吗?是否可以通过hLDA模型推断主题?
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?
推荐答案
我找到了hLDA推理程序这里(来自Github上的chyikwei),我相信它将带您到达那里.
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.
按照MALLET构建说明此处,我用HierarchicalLDAInferencer.java
重建了MALLET chyikwei的自述文件
Following the MALLET build instructions here, I rebuilt MALLET with the HierarchicalLDAInferencer.java
code in src/cc/mallet/topics following chyikwei's README
这篇关于hLDA的槌推论者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!