• Stars
    star
    1,802
  • Rank 25,778 (Top 0.6 %)
  • Language
    Jupyter Notebook
  • License
    BSD 3-Clause "New...
  • Created over 9 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Python library for interactive topic model visualization. Port of the R LDAvis package.

pyLDAvis

Python library for interactive topic model visualization. This is a port of the fabulous R package by Carson Sievert and Kenny Shirley.

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:

Carson Sievert created a video demoing the R package. The visualization is the same and so it applies equally to pyLDAvis:

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.

More Repositories

1

cucumber-tmbundle

TextMate bundle for Cucumber - This fork is no longer maintained, please see the README.
Ruby
283
star
2

continuous-cooking

Chef recipes for continuous integration, code review, and overall code management.
Shell
83
star
3

webrat-tmbundle

Useful collection of webrat Textmate snippets meant for use with the RSpec Story and/or Cucumber bundles
76
star
4

rosetta_queue

Messaging gateway API with adapters for different messaging systems available in Ruby.
Ruby
49
star
5

provenance

Provenance and caching library for python functions, built for creating lightweight machine learning pipelines
Python
36
star
6

rspec-story-tmbundle

Textmate Bundle for RSpec plain text stories
Ruby
31
star
7

clj-airbrake

Clojure client for the Airbrake API
Clojure
31
star
8

hacker_news_topic_modelling

Topic models (just LDA for now) on the Hacker News corpus
22
star
9

faketwitter

Factory goodness for twitter search responses wrapped in FakeWeb awesomeness.
Ruby
16
star
10

claw

claw - Clojure Linear Algebra Workbench
Clojure
13
star
11

pca-tutorial

Presenation-- PCA for the uninitiated: Intuitive motivation via maximum variance interpretation
JavaScript
12
star
12

codenote

Keynote for coders.
Ruby
11
star
13

dask-funk

Plumatic 'graph' in python using dask!
Python
9
star
14

clispec

Helpers for testing CLI tools with Cucumber and RSpec-- I won't be adding any cuke steps anymore since aruba came out
Ruby
8
star
15

gherkin-pygments-lexer

Offical fork now lives https://github.com/cucumber/gherkin-pygments-lexer
Python
8
star
16

clj-slope-one

A toy implementaion of the slope-one CF algorithm in clojure
Clojure
7
star
17

clj-campfire

Thin clojure wrappers for Campfire's API
Clojure
6
star
18

dotvim

my .vim files
Vim Script
5
star
19

graphchi

https://code.google.com/p/graphchi/
C++
5
star
20

vim-cucumber

Vim helpers for working with Cucumber features
Vim Script
4
star
21

tcpsocket-wait

Adds wait_for_service_with_timeout and wait_for_service_termination_with_timeout to TCPSocket
Ruby
4
star
22

sicp-study

Study Group Worked Exercises from "The Structure and Interpretation of Computer Programs"
Scheme
4
star
23

monocle

A simple data capture app using the Kinect, based on Smithers
C#
4
star
24

csvlib

CSV library for Clojure that wraps javacsv- fork of: https://bitbucket.org/tebeka/csvlib
Clojure
3
star
25

databasecleaner-debug

example rails app used to reproduce bugs with database_cleaner
Ruby
2
star
26

graphlab-vagrant

Sets up Graphlab on a Vagrant VM
Shell
2
star
27

word2anki

CLI tool that takes a word and creates a corrsponding Anki fact (card) to help build vocab.
1
star
28

urug-demo

enumerating example
Ruby
1
star
29

generator_missing

defines generators which should be in rails but are not
Ruby
1
star
30

cs6620-raytracer

my c++ raytracer I wrote for cs6620
C++
1
star
31

doseq-future

project illustrating a problem with lazy-seqs and futures in clojure
Clojure
1
star
32

cukes.info-design

Design for Cucumber's site- http://cukes.info
1
star