Reputation: 459
I’ve been trying to modify parts the R package lda, specifically the slda.em function. At some point, the C function "collapsedGibbsSampler” gets called in slda.collapsed.gibbs.sampler. Does anyone have the C code for that function? I've looked over Jonathan's github to no avail.
Many thanks.
Upvotes: 0
Views: 504
Reputation: 459
Thanks to Jonathan Chang here's where the code lives https://github.com/slycoder/R-lda-deprecated/blob/master/src/gibbs.c#L477
Upvotes: 1