pypi bertopic 0.8.0
Major Release v0.8

latest releases: 1.0.0b1, 0.17.4, 0.17.3...
5 years ago

Mainly a visualization update to improve understanding of the topic model.

Features

  • Additional visualizations:
    • Topic Hierarchy: topic_model.visualize_hierarchy()
    • Topic Similarity Heatmap: topic_model.visualize_heatmap()
    • Topic Representation Barchart: topic_model.visualize_barchart()
    • Term Score Decline: topic_model.visualize_term_rank()

Improvements

  • Created bertopic.plotting library to easily extend visualizations
  • Improved automatic topic reduction by using HDBSCAN to detect similar topics
  • Sort topic ids by their frequency. -1 is the outlier class and contains typically the most documents. After that 0 is the largest topic, 1 the second largest, etc.
  • Update MKDOCS with new visualizations

Fixes

  • Fix typo #113, #117
  • Fix #121 by removing the following two lines:
  • Fix mapping of topics after reduction (it now excludes 0) (#103)

Don't miss a new bertopic release

NewReleases is sending notifications on new releases.