hLDA的槌推论者 [英] mallet inferencer for hLDA

查看:107
本文介绍了hLDA的槌推论者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用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推理程序

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的槌推论者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆