我有一个dfm,但我无法收敛模型。我只需要知道如何拟合模型,并可能通过在textmodel_wordfsh中设置目录即可。该怎么做?
我的代码:
wf.mandela <- textmodel_wordfish(dfm_trim(mandela.dfm) , dir = c(3,4), sparse = FALSE)
我的错误:
Warning message: In textmodel_wordfish.dfm(dfm_trim(mandela.dfm), dir = c(3, 4), : Warning: The algorithm did not converg