Skip to content
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

[MRG] Visualize topic networks #1536

Merged
merged 5 commits into from
Aug 23, 2017

Conversation

parulsethi
Copy link
Contributor

Added a notebook for topic network visualization.

@menshikh-iv
Copy link
Contributor

Unfortunately, I can't add comments to your diff, for this reason, I'll comment here

gensim.corpora.MmCorpus, gensim.matutils.jaccard, random.sample - unused imports
words = re.findall(r'\w+', lowered, flags = re.UNICODE | re.LOCALE) - no needed spaces
from __future__ import absolute_import - no needed import
self.get_dendrogram_traces(... - vertical indent

missing space:

  • topic_distance[i,j]
  • G=nx.Graph()
  • Line(width=0.5,color='#888')
  • dendro['layout'].update({'width':1000, 'height':600})

@parulsethi parulsethi changed the title Visualize topic networks [MRG] Visualize topic networks Aug 23, 2017
@menshikh-iv
Copy link
Contributor

Nice viz @parulsethi 👍

@menshikh-iv menshikh-iv merged commit 3378af6 into piskvorky:develop Aug 23, 2017
@parulsethi parulsethi deleted the topic_networks branch August 23, 2017 10:36
fabriciorsf pushed a commit to LINE-PESC/gensim that referenced this pull request Aug 23, 2017
* add topic network graph

* use js for topic network

* added descriptions

* made requested changes

* pep8 space
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants