QBoard » Advanced Visualizations » Viz - Python » Visualizing an LDA model, using Python

Visualizing an LDA model, using Python

  • I have a LDA model with the 10 most common topics in 10K documents. Now it's just an overview of the words with corresponding probability distribution for each topic.

    I was wondering if there is something available for python to visualize these topics?

      September 24, 2020 2:09 PM IST
    0
    • Laksh Nath
      Laksh Nath Word clouds are popular ways of visualizing topic distributions. To generate a word cloud in python consider cloning the wordcloud library.
      September 25, 2020
  • There some visulizations you can choise.

    In the topic of Visualizing topic models, the visualization could be implemented with,

    In this topic Visualizing Topic Models, the visualization could be implemented with

    1. Matplotlib
    2. Bokeh
    3. etc.
    This post was edited by Shivakumar Kota at September 24, 2020 5:09 PM IST
      September 24, 2020 5:09 PM IST
    0
  • pyLDAvis looks reasonably good.

    There's also Termite developed by Jason Chuang of Stanford.

      September 24, 2020 5:20 PM IST
    0
  • PyLDAVis - Visualization tool for LDA Models

    Useful article for learning Topic Modelling using different models in Python

      September 24, 2020 5:21 PM IST
    0
  • Depending upon the use case, you may chose some of these Visualizations as well.

    1)Stacked Bar Chart

    2)Heatmap

    3)Table (https://de.dariah.eu/tatom/topic_model_visualization.html)

    4)Histogram

    5)Violin Plot (https://www.analyticsvidhya.com/blog/2015/05/data-visualization-python/)

    Most of these visualizations are possible thorough Matplotlib library in Python.

      September 25, 2020 10:45 AM IST
    0