You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the function coherence, shouldn't it be for (l in 1:(m - 1)) instead of for (l in 1:(top_n_tokens - 1))? Otherwise, you are counting some but not all of the pairs of words twice. This is also the definition in Mimno et. al. 2011, p. 265.
The text was updated successfully, but these errors were encountered:
In the function
coherence
, shouldn't it befor (l in 1:(m - 1))
instead offor (l in 1:(top_n_tokens - 1))
? Otherwise, you are counting some but not all of the pairs of words twice. This is also the definition in Mimno et. al. 2011, p. 265.The text was updated successfully, but these errors were encountered: