'How to fix random seed for BERTopic?
Solution 1:[1]
you can fix the random seed
from bertopic import BERTopic
from umap import UMAP
umap_model = UMAP(random_state=42)
topic_model = BERTopic(umap_model=umap_model)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
