There is a newer version of the record available.

Published July 11, 2022 | Version v0.11.0

MaartenGr/BERTopic: v0.11.0

  • 1. IKNL
  • 2. Ada
  • 3. Mustang Analytics
  • 4. Tsinghua University
  • 5. Huggingface

Description

Highlights Fixes
  • Fix support for k-Means in .visualize_heatmap (#532)
  • Fix missing topic 0 in .visualize_topics (#533)
  • Fix inconsistencies in .get_topic_info (#572) and (#581)
  • Add optimal_ordering parameter to .visualize_hierarchy by @rafaelvalero in #390
  • Fix RuntimeError when used as sklearn estimator by @simonfelding in #448
  • Fix typo in visualization documentation by @dwhdai in #475
  • Fix typo in docstrings by @xwwwwww in #549
  • Support higher Flair versions
Visualization examples Visualize hierarchical topic representations with .visualize_hierarchy:

Extract a text-based hierarchical topic representation with .get_topic_tree:
.
└─atheists_atheism_god_moral_atheist
     ├─atheists_atheism_god_atheist_argument
     │    ├─■──atheists_atheism_god_atheist_argument ── Topic: 21
     │    └─■──br_god_exist_genetic_existence ── Topic: 124
     └─■──moral_morality_objective_immoral_morals ── Topic: 29
Visualize 2D documents with .visualize_documents():

Visualize 2D hierarchical documents with .visualize_hierarchical_documents():

Files

MaartenGr/BERTopic-v0.11.0.zip

Files (6.8 MB)

Name Size Download all
md5:ba9757fb929d8af7969df5f69c05af6a
6.8 MB Preview Download

Additional details

Related works