-
Notifications
You must be signed in to change notification settings - Fork 138
Open
Description
First of all, thanks for providing such a great library! The code really helps to understand the paper.
But I am still wondering why the topic probability distribution P(z|B) for the oBTM seems different from the paper?
But the actual calculation goes:
pw1k = (nwz[k][w1] + beta[k][w1]) / (2 * nb_z[k] + beta_sum[k]);
pw2k = (nwz[k][w2] + beta[k][w2]) / (2 * nb_z[k] + 1 + beta_sum[k]);
pz[k] = (nb_z[k] + alpha[k]) * pw1k * pw2k;What did I miss?
Metadata
Metadata
Assignees
Labels
No labels
