GibbsLDApy
GibbsLDApy copied to clipboard
A python type of GibbsLDA++
code
in model.py line 798, the code ' for k in range(self.K) :' has a little problem。 k should start at 1,not 0. the corrected code is ' for k in...
at the end of inf_sampling self.nw[_w][topic] += 1 self.nd[m][topic] += 1 self.nwsum[topic] += 1 self.ndsum[m] += 1 should be following? self.newnw[_w][topic] += 1 self.newnd[m][topic] += 1 self.newnwsum[topic] += 1 self.newndsum[m]...
wordmap词数量是否越多越好