Class for wrapping a cluster model from the river package for BERTopic Online Topic Modeling
Project description
cluster_model
Package containing a wrapper class River for performing Online Topic Modeling with BERTopic model as explained in the related documentation.
The reference documentation states that the package river can be used for performing Online Topic Modeling in BERTopic. However it is necessary to create a class having a .partial_fit
function and the possibility to extract labels through .labels
.
The module simply defines a Python class class River
as specified in the BERTopic guidelines for performing Online Topic Modeling, which allows to instantiate a river
cluster model contaning also the .partial_fit
function and the possibility to extract labels through .labels
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cluster_model-0.1.tar.gz
.
File metadata
- Download URL: cluster_model-0.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98788c82d6eb32b5fd38298ee66333130267e16fb099096090c68fb69e71aad6 |
|
MD5 | ef8dc64fb20f1c5bc525eff72643083a |
|
BLAKE2b-256 | 2846813d33c2e0ea61869964f9c0246ac6450c09a6ca3a0f4fe5b59eb45401b0 |
File details
Details for the file cluster_model-0.1-py3-none-any.whl
.
File metadata
- Download URL: cluster_model-0.1-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1447547d09a600f5b3e5b03f861ad97d6f1aca4b27b4ae23476e7d196fa0b8da |
|
MD5 | 14bb2462bc809ccc2990eff746665a9b |
|
BLAKE2b-256 | ec2312b182ba869f6a5126cdaed4704404e2c8a3c7886f293b1d5a6f2ae5cd6d |