OnlineBTM:在线 Biterm 主题模型代码(发布于 TKDE2014)-源码

上传者: 42127748 | 上传时间: 2021-09-24 16:05:18 | 文件大小: 10.99MB | 文件类型: ZIP
C++
在线Biterm主题模型代码 该包包含两种用于 Biterm 主题模型 (BTM) 的在线算法:在线 BTM (oBTM) 和增量 BTM (iBTM)。 oBTM 通过使用足够的统计量作为 Dirichlet 先验来拟合时间片中的单个 BTM; iBTM 使用增量 Gibbs 采样器在双项流上训练单个模型。 更详细的可以参考以下论文: 程雪琪、闫晓慧、蓝燕燕、郭家峰。 BTM:基于短文本的主题建模。 TKDE,2014 年。 用法 该代码包含一个可运行的示例,您可以通过以下方式运行它: $ script/runExample.sh 它在sample-data/0.txt, 1.txt, ... 中的文档上训练 BTM 并输出主题。 n.txt包含时间片(应该是天) n中的训练文档,其中每一行代表一个文档,单词以空格分隔,如下所示: word1 word2 word3 ...

文件下载

资源详情

[{"title":"( 34 个子文件 10.99MB ) OnlineBTM:在线 Biterm 主题模型代码(发布于 TKDE2014)-源码","children":[{"title":"OnlineBTM-master","children":[{"title":"output","children":[{"title":"voca.txt <span style='color:#111;'> 621.77KB </span>","children":null,"spread":false},{"title":"model","children":[{"title":"k20.day1.pz <span style='color:#111;'> 196B </span>","children":null,"spread":false},{"title":"k20.day2.pz_d <span style='color:#111;'> 6.35MB </span>","children":null,"spread":false},{"title":"k20.day1.pw_z <span style='color:#111;'> 10.91MB </span>","children":null,"spread":false},{"title":"k20.day0.pw_z <span style='color:#111;'> 10.87MB </span>","children":null,"spread":false},{"title":"k20.day2.pz <span style='color:#111;'> 197B </span>","children":null,"spread":false},{"title":"k20.day2.pw_z <span style='color:#111;'> 10.63MB </span>","children":null,"spread":false},{"title":"k20.day0.pz_d <span style='color:#111;'> 6.43MB </span>","children":null,"spread":false},{"title":"k20.day1.pz_d <span style='color:#111;'> 6.37MB </span>","children":null,"spread":false},{"title":"k20.day0.pz <span style='color:#111;'> 199B </span>","children":null,"spread":false}],"spread":true},{"title":"doc_wids","children":[{"title":"0.txt <span style='color:#111;'> 722.21KB </span>","children":null,"spread":false},{"title":"2.txt <span style='color:#111;'> 748.99KB </span>","children":null,"spread":false},{"title":"1.txt <span style='color:#111;'> 728.98KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"pmat.h <span style='color:#111;'> 6.74KB </span>","children":null,"spread":false},{"title":"obtm.h <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"obtm.cpp <span style='color:#111;'> 4.15KB </span>","children":null,"spread":false},{"title":"ibtm.h <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"sampler.h <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"biterm.h <span style='color:#111;'> 667B </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"str_util.h <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"infer.h <span style='color:#111;'> 900B </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 345B </span>","children":null,"spread":false},{"title":"infer.cpp <span style='color:#111;'> 3.68KB </span>","children":null,"spread":false},{"title":"doc.h <span style='color:#111;'> 811B </span>","children":null,"spread":false},{"title":"ibtm.cpp <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false},{"title":"pvec.h <span style='color:#111;'> 5.87KB </span>","children":null,"spread":false}],"spread":false},{"title":"script","children":[{"title":"indexDocs.py <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"runExample.sh <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"topicDisplay.py <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 3.68KB </span>","children":null,"spread":false},{"title":"sample-data","children":[{"title":"0.txt <span style='color:#111;'> 912.85KB </span>","children":null,"spread":false},{"title":"2.txt <span style='color:#111;'> 942.82KB </span>","children":null,"spread":false},{"title":"1.txt <span style='color:#111;'> 919.16KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明