R topicmodels包:做LDA时如何设置Beta(eta)的参数?

问题描述 投票:0回答:1

使用R包

topicmodels
和函数
LDA()
,如何设置Beta(或eta)?

我知道我们可以通过在LDA命令中写入

control=list(alpha = 0.5)
来设置Alpha参数,但是
eta=
不起作用。

另外,

topicmodels
中eta的默认值是多少?

r topic-modeling topicmodels
1个回答
0
投票

topicmodels
中,理论论文中描述的eta参数称为delta。

lda <- LDA(dtm, control = list(delta = 0.6), k = K)

Griffiths 和 Steyvers (2004) 建议使用默认值 0.1。

来源:包小插图

© www.soinside.com 2019 - 2024. All rights reserved.