-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LDA show_topic() might show wordids, not words #354
Labels
Comments
I think that is something desirable, especially making sure that the BTW, there's no need to change the linked line. It isn't returned in the end for that method, anyway. I think you meant a few lines up, in |
piskvorky
added
feature
Issue described a new feature
difficulty easy
Easy issue: required small fix
labels
Sep 11, 2015
cscorley
added a commit
that referenced
this issue
Sep 12, 2015
cscorley
added a commit
that referenced
this issue
Sep 13, 2015
cscorley
added a commit
that referenced
this issue
Sep 13, 2015
cscorley
added a commit
that referenced
this issue
Sep 13, 2015
cscorley
added a commit
that referenced
this issue
Sep 13, 2015
Resolved in #448. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
I mean this line:
https://github.com/piskvorky/gensim/blob/develop/gensim/models/ldamodel.py#L757
should be
Otherwise it is not possible to get similar output to tfidf model, which shows list of tuples such as this
including id of the word and its tfidf metric.
Maybe such a behavior should rely on some function parameter, so it dont ruin any other related code which uses default word representation of
show_topic
.I mean something like this:
Nevertheless, even this approach is contradictory in the order of
id, metric
inside a tuple - tfidf shows id as a first parameter andlda.show_topics()
does it as a second.The text was updated successfully, but these errors were encountered: