forked from bmabey/pyLDAvis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/bmabey/pyLDAvis
* 'master' of https://github.com/bmabey/pyLDAvis: (84 commits) fixes other typo in gl notebook fix typo use the graphlab API for it's prepare, 3x+ speed improvement! updates notebook with models from LDAvis package replaces use of map with list comprehension to help with bmabey#8 pass kargs to prepare fn in gensim and graphlab helpers. Closes bmabey#6, bmabey#7. releases v1.2.0 adds link to the R vignette that explains the visualization prevents prepare from blowing up when used with a vocab smaller than R make the gensim extraction more explicit... trying to find bug in logic updates gensim adapter to get topic term dists directly /ht @cscorley fixes Makefile to run on osx releases v1.1.0 change how web assets are served from github.. using detatched branch fixes graphlab viz fixes bug in graphlab model prepare causing bogus visualizations! doc fixes fix pypi badge release v1.0.0 prep for v1.0.0 release ...
- Loading branch information
Showing
45 changed files
with
3,833 additions
and
497 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
|
||
# Packages | ||
*.egg | ||
.eggs | ||
*.egg-info | ||
dist | ||
build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,4 @@ Development Lead | |
Contributors | ||
------------ | ||
|
||
None yet. Why not be the first? | ||
* Paul English <[email protected]> - JS and CSS fixes and improvements. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
pyLDAvis | ||
======== | ||
|
||
Python library for interactive topic model visualization. | ||
This is a port of the fabulous `R package <https://github.com/cpsievert/LDAvis>`__ by Carson Sievert and Kenny Shirley. | ||
|
||
.. figure:: http://www2.research.att.com/~kshirley/figures/ldavis-pic.png | ||
:alt: LDAvis icon | ||
|
||
**pyLDAvis** is designed to help users interpret the topics in a topic model that has been fit to a corpus of text data. The package extracts information from a fitted LDA topic model to inform an interactive web-based visualization. | ||
|
||
The visualization is intended to be used within an IPython notebook but can also be saved to a stand-alone HTML file for easy sharing. | ||
|
||
|version status| |build status| |docs| | ||
|
||
Installation | ||
~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
- Stable version using pip: | ||
|
||
:: | ||
|
||
pip install pyldavis | ||
|
||
- Development version on GitHub | ||
|
||
Clone the repository and run ``python setup.py`` | ||
|
||
Usage | ||
~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
The best way to learn how to use **pyLDAvis** is to see it in action. | ||
Check out this `notebook for an overview <http://nbviewer.ipython.org/github/bmabey/pyLDAvis/blob/master/notebooks/pyLDAvis_overview.ipynb>`__. | ||
Refer to the `documentation <https://pyLDAvis.readthedocs.org>`__ for details. | ||
|
||
For a concise explanation of the visualization see this | ||
`vignette <http://cran.r-project.org/web/packages/LDAvis/vignettes/details.pdf>`__ from the LDAvis R package. | ||
|
||
Video demos | ||
~~~~~~~~~~~ | ||
|
||
Carson Sievert created a video demoing the R package. The visualization is the same and so it applies equally to pyLDAvis: | ||
|
||
- `Visualizing & Exploring the Twenty Newsgroup Data <http://stat-graphics.org/movies/ldavis.html>`__ | ||
|
||
More documentation | ||
~~~~~~~~~~~~~~~~~~ | ||
|
||
To read about the methodology behind pyLDAvis, see `the original | ||
paper <http://nlp.stanford.edu/events/illvi2014/papers/sievert-illvi2014.pdf>`__, | ||
which was presented at the `2014 ACL Workshop on Interactive Language | ||
Learning, Visualization, and | ||
Interfaces <http://nlp.stanford.edu/events/illvi2014/>`__ in Baltimore | ||
on June 27, 2014. | ||
|
||
|
||
|
||
|
||
.. |version status| image:: https://img.shields.io/pypi/v/pyLDAvis.svg | ||
:target: https://pypi.python.org/pypi/pyLDAvis | ||
.. |build status| image:: https://travis-ci.org/bmabey/pyLDAvis.png?branch=master | ||
:target: https://travis-ci.org/bmabey/pyLDAvis | ||
.. |docs| image:: https://readthedocs.org/projects/pyldavis/badge/?version=latest | ||
:target: https://pyLDAvis.readthedocs.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
API documentation | ||
================= | ||
|
||
.. automodule:: pyLDAvis | ||
:members: | ||
|
||
.. automodule:: pyLDAvis.gensim | ||
:members: | ||
|
||
.. automodule:: pyLDAvis.graphlab | ||
:members: | ||
|
||
.. automodule:: pyLDAvis.utils | ||
:members: | ||
|
||
.. automodule:: pyLDAvis.urls | ||
:members: |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.