Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bmabey/pyLDAvis
Python library for interactive topic model visualization. Port of the R LDAvis package.
https://github.com/bmabey/pyLDAvis
Last synced: 3 months ago
JSON representation
Python library for interactive topic model visualization. Port of the R LDAvis package.
- Host: GitHub
- URL: https://github.com/bmabey/pyLDAvis
- Owner: bmabey
- License: bsd-3-clause
- Created: 2015-04-09T22:48:03.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-04-29T20:57:51.000Z (6 months ago)
- Last Synced: 2024-06-18T12:43:14.470Z (5 months ago)
- Language: Jupyter Notebook
- Homepage:
- Size: 6.19 MB
- Stars: 1,788
- Watchers: 49
- Forks: 361
- Open Issues: 78
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
- Authors: AUTHORS.rst
Awesome Lists containing this project
- awesome_quantmetry - pyLDAvis
- awesome-topic-models - pyLDAvis - Python library for interactive topic model visualization (Visualizations / Embedding based Topic Models)
- awesome-python-machine-learning-resources - GitHub - 51% open · ⏱️ 24.03.2021): (模型的可解释性)
README
pyLDAvis
========Python library for interactive topic model visualization.
This is a port of the fabulous `R package `_ by `Carson Sievert `__ and `Kenny Shirley `__... figure:: http://www.kennyshirley.com/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.
Note: LDA stands for `latent Dirichlet allocation `_.
|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 `__.
Refer to the `documentation `__ for details.For a concise explanation of the visualization see this
`vignette `__ from the LDAvis R package.Video demos
~~~~~~~~~~~Ben Mabey walked through the visualization in this short talk using a Hacker News corpus:
- `Visualizing Topic Models `__
- `Notebook and visualization used in the demo `__
- `Slide deck `__`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 `__
More documentation
~~~~~~~~~~~~~~~~~~To read about the methodology behind pyLDAvis, see `the original
paper `__,
which was presented at the `2014 ACL Workshop on Interactive Language
Learning, Visualization, and
Interfaces `__ 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