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
The code for support of gensim models looks pretty old.
I am not sure if gensim (at the time of writing this code) didn't support better means to achieve the goals this code tries to achieve.
The LDA model does not offer the beta parameter because it is called eta in gensim.
Furthermore, the gensim's Dictionary offers the term frequency (across the collection) as model.id2word.cfs and document frequency model.id2word.dfs (in how many documents the term occurs).
The text was updated successfully, but these errors were encountered:
The code for support of gensim models looks pretty old.
I am not sure if gensim (at the time of writing this code) didn't support better means to achieve the goals this code tries to achieve.
Example:
pyLDAvis/pyLDAvis/gensim_models.py
Lines 24 to 29 in 8e534a6
The LDA model does not offer the
beta
parameter because it is calledeta
in gensim.Furthermore, the gensim's Dictionary offers the term frequency (across the collection) as
model.id2word.cfs
and document frequencymodel.id2word.dfs
(in how many documents the term occurs).The text was updated successfully, but these errors were encountered: